ARM: dts: r8a7743: Add APMU node and second CPU core
authorBiju Das <biju.das@bp.renesas.com>
Tue, 8 Aug 2017 10:56:32 +0000 (11:56 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Thu, 17 Aug 2017 08:32:49 +0000 (10:32 +0200)
Add DT nodes for the Advanced Power Management Unit (APMU) and the
second CPU core.  Use the enable-method to point out that the APMU
should be used for SMP support.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a7743.dtsi

index ce80a26..ec9db0f 100644 (file)
@@ -30,6 +30,7 @@
        cpus {
                #address-cells = <1>;
                #size-cells = <0>;
+               enable-method = "renesas,apmu";
 
                cpu0: cpu@0 {
                        device_type = "cpu";
                        next-level-cache = <&L2_CA15>;
                };
 
+               cpu1: cpu@1 {
+                       device_type = "cpu";
+                       compatible = "arm,cortex-a15";
+                       reg = <1>;
+                       clock-frequency = <1500000000>;
+                       power-domains = <&sysc R8A7743_PD_CA15_CPU1>;
+                       next-level-cache = <&L2_CA15>;
+               };
+
                L2_CA15: cache-controller-0 {
                        compatible = "cache";
                        cache-unified;
                #size-cells = <2>;
                ranges;
 
+               apmu@e6152000 {
+                       compatible = "renesas,r8a7743-apmu", "renesas,apmu";
+                       reg = <0 0xe6152000 0 0x188>;
+                       cpus = <&cpu0 &cpu1>;
+               };
+
                gic: interrupt-controller@f1001000 {
                        compatible = "arm,gic-400";
                        #interrupt-cells = <3>;