From: Huang, Tao Date: Tue, 23 Dec 2014 08:30:13 +0000 (+0800) Subject: arm64: rockchip: rk3368 enable 4 big CPUs support X-Git-Tag: firefly_0821_release~4158^2~499 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=41b711c60f8e612e626a4033683b4f6b5699055e;p=firefly-linux-kernel-4.4.55.git arm64: rockchip: rk3368 enable 4 big CPUs support Signed-off-by: Huang, Tao --- diff --git a/arch/arm64/boot/dts/rk3368.dtsi b/arch/arm64/boot/dts/rk3368.dtsi index 63818281ea99..3b4e71837423 100755 --- a/arch/arm64/boot/dts/rk3368.dtsi +++ b/arch/arm64/boot/dts/rk3368.dtsi @@ -37,13 +37,97 @@ #address-cells = <2>; #size-cells = <0>; - cpu@0 { + big0: cpu@100 { device_type = "cpu"; - compatible = "arm,cortex-a53","arm,armv8"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x100>; + enable-method = "psci"; + }; + big1: cpu@101 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x101>; + enable-method = "psci"; + }; + big2: cpu@102 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x102>; + enable-method = "psci"; + }; + big3: cpu@103 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x103>; + enable-method = "psci"; + }; +/* + little0: cpu@0 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; reg = <0x0 0x0>; + enable-method = "psci"; + }; + little1: cpu@1 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x1>; + enable-method = "psci"; + }; + little2: cpu@2 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x2>; + enable-method = "psci"; + }; + little3: cpu@3 { + device_type = "cpu"; + compatible = "arm,cortex-a53", "arm,armv8"; + reg = <0x0 0x3>; + enable-method = "psci"; + }; +*/ + + cpu-map { + cluster0 { + core0 { + cpu = <&big0>; + }; + core1 { + cpu = <&big1>; + }; + core2 { + cpu = <&big2>; + }; + core3 { + cpu = <&big3>; + }; + }; +/* + cluster1 { + core0 { + cpu = <&little0>; + }; + core1 { + cpu = <&little1>; + }; + core2 { + cpu = <&little2>; + }; + core3 { + cpu = <&little3>; + }; + }; +*/ }; }; + psci { + compatible = "arm,psci"; + method = "smc"; + cpu_on = <0xC4000003>; + }; + gic: interrupt-controller@ffb70000 { compatible = "arm,cortex-a15-gic"; #interrupt-cells = <3>; @@ -205,9 +289,9 @@ interrupt-parent = <&gic>; ranges; - pdma0: pdma@ffb20000 { + pdma0: pdma@ff600000 { compatible = "arm,pl330", "arm,primecell"; - reg = <0x0 0xffb20000 0x0 0x4000>; + reg = <0x0 0xff600000 0x0 0x4000>; interrupts = , ; #dma-cells = <1>;