ARM: bcm2835: add CPU node for ARM core
authorStefan Wahren <stefan.wahren@i2se.com>
Thu, 31 Mar 2016 17:25:17 +0000 (17:25 +0000)
committerEric Anholt <eric@anholt.net>
Wed, 20 Apr 2016 00:31:57 +0000 (17:31 -0700)
This patch adds the CPU node of the BCM2835 into the DT.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
arch/arm/boot/dts/bcm2835.dtsi

index b83b32639358ebd2162c54eebf0b331932e8c1ce..a78759e737101728340675ff1b7cc4a171e00fb2 100644 (file)
@@ -3,6 +3,17 @@
 / {
        compatible = "brcm,bcm2835";
 
+       cpus {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               cpu@0 {
+                       device_type = "cpu";
+                       compatible = "arm,arm1176jzf-s";
+                       reg = <0x0>;
+               };
+       };
+
        soc {
                ranges = <0x7e000000 0x20000000 0x02000000>;
                dma-ranges = <0x40000000 0x00000000 0x20000000>;