Re: [PATCH] ARM: /proc/cpuinfo: Use DT machine name when possible

From: Fabio Estevam
Date: Wed Jun 18 2014 - 17:53:09 EST


On Wed, Jun 18, 2014 at 5:20 PM, Pali RohÃr <pali.rohar@xxxxxxxxx> wrote:
>
> So how to read Revision and Serial number in DT based kernel?

$ cat /sys/bus/soc/devices/soc0/soc_id
i.MX6SX

$ cat /sys/bus/soc/devices/soc0/revision
1.0

$ cat /sys/bus/soc/devices/soc0/machine
Freescale i.MX6 SoloX SDB Board
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/