ARM: dts: add exynos5422-cpus.dtsi to correct cpu order
Subsystems (2)
PATCH v5 1/1 ARM: dts: add exynos5422-cpus.dtsi to correct cpu order
The odroid-xu3 board which is based on exynos5422 not exynos5800 is booted from cortex-a7 core unlike exynos5800. The odroid-xu3's cpu order is quite strange. cpu0 and cpu5-7 are cortex-a7 cores and cpu1-4 are cortex-a15 cores. To correct this mis-odering, I added exynos5422.dtsi and reversing cpu orders from exynos5420. Now, cpu0-3 are cortex-a7 and cpu4-7 are cortex-a15.
---
Changes from v4:
- Remove temporal patch in e-mail body
Changes from v3:
- include this exynos5422-cpus.dtsi in the exynos5422-odroidxu3-common.dtsi
Changes from v2:
- drop inclusion of exynos5420.dtsi from exynos5422-cpus.dtsi
- drop compatibles from exynos5422-cpus.dtsi
Changes from v1:
- rename exynos5422.dtsi to exynos5422-cpus.dtsi
- include the dtsi file top of the exynos5422-odroidxu3.dts
Secondary cpu booting problem[1] is not resolved yet. Need more investigations to work booting 8 cores correctly.
[1]: http://www.spinics.net/lists/linux-samsung-soc/msg45525.html
arch/arm/boot/dts/exynos5422-cpus.dtsi | 81 ++++++++++++++++++++++ arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 1 + 2 files changed, 82 insertions(+) create mode 100644 arch/arm/boot/dts/exynos5422-cpus.dtsi
arch/arm/boot/dts/exynos5422-cpus.dtsi new file +81 -0
@@ -0,0 +1,81 @@ +/* + * SAMSUNG EXYNOS5422 SoC cpu device tree source + * + * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * http://www.samsung.com + * + * The only difference between EXYNOS5422 and EXYNOS5800 is cpu ordering. The + * EXYNOS5422 is booting from Cortex-A7 core while the EXYNOS5800 is booting + * from Cortex-A15 core. + * + * EXYNOS5422 based board files can include this file to provide cpu ordering + * which could boot a cortex-a7 from cpu0. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +&cpu0 { + device_type = "cpu"; + compatible = "arm,cortex-a7"; + reg = <0x100>; + clock-frequency = <1000000000>; + cci-control-port = <&cci_control0>; +}; + +&cpu1 { + device_type = "cpu"; + compatible = "arm,cortex-a7"; + reg = <0x101>; + clock-frequency = <1000000000>; + cci-control-port = <&cci_control0>; +}; + +&cpu2 { + device_type = "cpu"; + compatible = "arm,cortex-a7"; + reg = <0x102>; + clock-frequency = <1000000000>; + cci-control-port = <&cci_control0>; +}; + +&cpu3 { + device_type = "cpu"; + compatible = "arm,cortex-a7"; + reg = <0x103>; + clock-frequency = <1000000000>; + cci-control-port = <&cci_control0>; +}; + +&cpu4 { + device_type = "cpu"; + compatible = "arm,cortex-a15"; + reg = <0x0>; + clock-frequency = <1800000000>; + cci-control-port = <&cci_control1>; +}; + +&cpu5 { + device_type = "cpu"; + compatible = "arm,cortex-a15"; + reg = <0x1>; + clock-frequency = <1800000000>; + cci-control-port = <&cci_control1>; +}; + +&cpu6 { + device_type = "cpu"; + compatible = "arm,cortex-a15"; + reg = <0x2>; + clock-frequency = <1800000000>; + cci-control-port = <&cci_control1>; +}; + +&cpu7 { + device_type = "cpu"; + compatible = "arm,cortex-a15"; + reg = <0x3>; + clock-frequency = <1800000000>; + cci-control-port = <&cci_control1>; +};
arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi +1 -0
@@ -15,6 +15,7 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/sound/samsung-i2s.h> #include "exynos5800.dtsi" +#include "exynos5422-cpus.dtsi" / { memory {
Signature · 1 line
2.1.0
Krzysztof Kozlowski
AppliedPATCH v5 1/1 ARM: dts: add exynos5422-cpus.dtsi to correct cpu order
Quoted 27 lines · Chanho Park
The odroid-xu3 board which is based on exynos5422 not exynos5800 is booted from cortex-a7 core unlike exynos5800. The odroid-xu3's cpu order is quite strange. cpu0 and cpu5-7 are cortex-a7 cores and cpu1-4 are cortex-a15 cores. To correct this mis-odering, I added
exynos5422.dtsiand reversing cpu orders from exynos5420. Now, cpu0-3 are cortex-a7 and cpu4-7 are cortex-a15.Reviewed-by Krzysztof Kozlowski <[email protected]>Signed-off-by Chanho Park <[email protected]>---
Changes from v4:
- Remove temporal patch in e-mail bodyChanges from v3:
- include thisexynos5422-cpus.dtsiin theexynos5422-odroidxu3-common.dtsiChanges from v2:
- drop inclusion ofexynos5420.dtsifromexynos5422-cpus.dtsi
- drop compatibles fromexynos5422-cpus.dtsiChanges from v1:
- renameexynos5422.dtsitoexynos5422-cpus.dtsi
- include the dtsi file top of theexynos5422-odroidxu3.dtsSecondary cpu booting problem[1] is not resolved yet. Need more investigations to work booting 8 cores correctly.
Quoted 6 lines
[1]: http://www.spinics.net/lists/linux-samsung-soc/msg45525.html
arch/arm/boot/dts/exynos5422-cpus.dtsi | 81 ++++++++++++++++++++++ arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 1 + 2 files changed, 82 insertions(+) create mode 100644 arch/arm/boot/dts/exynos5422-cpus.dtsi
Thanks, applied to my tree. I'll sent it to Kukjin later for 4.3 unless he picks it up from LKML.
Best regards,
Krzysztof
PATCH v5 1/1 ARM: dts: add exynos5422-cpus.dtsi to correct cpu order
Quoted 35 lines · Krzysztof Kozlowski
Quoted 27 lines · Chanho Park
The odroid-xu3 board which is based on exynos5422 not exynos5800 is booted from cortex-a7 core unlike exynos5800. The odroid-xu3's cpu order is quite strange. cpu0 and cpu5-7 are cortex-a7 cores and cpu1-4 are cortex-a15 cores. To correct this mis-odering, I added
exynos5422.dtsiand reversing cpu orders from exynos5420. Now, cpu0-3 are cortex-a7 and cpu4-7 are cortex-a15.Reviewed-by Krzysztof Kozlowski <[email protected]>Signed-off-by Chanho Park <[email protected]>---
Changes from v4:
- Remove temporal patch in e-mail bodyChanges from v3:
- include thisexynos5422-cpus.dtsiin theexynos5422-odroidxu3-common.dtsiChanges from v2:
- drop inclusion ofexynos5420.dtsifromexynos5422-cpus.dtsi
- drop compatibles fromexynos5422-cpus.dtsiChanges from v1:
- renameexynos5422.dtsitoexynos5422-cpus.dtsi
- include the dtsi file top of theexynos5422-odroidxu3.dtsSecondary cpu booting problem[1] is not resolved yet. Need more investigations to work booting 8 cores correctly.
Quoted 6 lines
[1]: http://www.spinics.net/lists/linux-samsung-soc/msg45525.html
arch/arm/boot/dts/exynos5422-cpus.dtsi | 81 ++++++++++++++++++++++ arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 1 + 2 files changed, 82 insertions(+) create mode 100644 arch/arm/boot/dts/exynos5422-cpus.dtsi
Quoted 5 lines
Thanks, applied to my tree. I'll sent it to Kukjin later for 4.3 unless he picks it up from LKML.
Best regards,
Krzysztof
Un-applied. The signed-off-by does not match from.
Best regards,
Krzysztof
PATCH v5 1/1 ARM: dts: add exynos5422-cpus.dtsi to correct cpu order
In reply to Krzysztof KozlowskiQuoted 31 lines · Krzysztof Kozlowski
Quoted 29 lines · Chanho Park
The odroid-xu3 board which is based on exynos5422 not exynos5800 is booted from cortex-a7 core unlike exynos5800. The odroid-xu3's cpu order is quite strange. cpu0 and cpu5-7 are cortex-a7 cores and cpu1-4 are cortex-a15 cores. To correct this mis-odering, I added
exynos5422.dtsiand reversing cpu orders from exynos5420. Now, cpu0-3 are cortex-a7 and cpu4-7 are cortex-a15.Reviewed-by Krzysztof Kozlowski <[email protected]>Signed-off-by Chanho Park <[email protected]>---
Changes from v4:
- Remove temporal patch in e-mail bodyChanges from v3:
- include thisexynos5422-cpus.dtsiin theexynos5422-odroidxu3-common.dtsiChanges from v2:
- drop inclusion ofexynos5420.dtsifromexynos5422-cpus.dtsi
- drop compatibles fromexynos5422-cpus.dtsiChanges from v1:
- renameexynos5422.dtsitoexynos5422-cpus.dtsi
- include the dtsi file top of theexynos5422-odroidxu3.dtsSecondary cpu booting problem[1] is not resolved yet. Need more investigations to work booting 8 cores correctly.
[1]: http://www.spinics.net/lists/linux-samsung-soc/msg45525.html
Quoted 8 lines
Quoted 4 lines
arch/arm/boot/dts/exynos5422-cpus.dtsi | 81 ++++++++++++++++++++++ arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 1 + 2 files changed, 82 insertions(+) create mode 100644 arch/arm/boot/dts/exynos5422-cpus.dtsiThanks, applied to my tree. I'll sent it to Kukjin later for 4.3 unless he picks it up from LKML.
Hi Krzysztof,
If you're OK, I'd like to pick this up into Samsung tree with your ack based on 4.2-rc1.
Thanks,
Kukjin
PATCH v5 1/1 ARM: dts: add exynos5422-cpus.dtsi to correct cpu order
Quoted 37 lines · Kukjin Kim
Quoted 36 lines · Krzysztof Kozlowski
Quoted 33 lines · Chanho Park
The odroid-xu3 board which is based on exynos5422 not exynos5800 is booted from cortex-a7 core unlike exynos5800. The odroid-xu3's cpu order is quite strange. cpu0 and cpu5-7 are cortex-a7 cores and cpu1-4 are cortex-a15 cores. To correct this mis-odering, I added
exynos5422.dtsiand reversing cpu orders from exynos5420. Now, cpu0-3 are cortex-a7 and cpu4-7 are cortex-a15.Reviewed-by Krzysztof Kozlowski <[email protected]>Signed-off-by Chanho Park <[email protected]>---
Changes from v4:
- Remove temporal patch in e-mail bodyChanges from v3:
- include thisexynos5422-cpus.dtsiin theexynos5422-odroidxu3-common.dtsiChanges from v2:
- drop inclusion ofexynos5420.dtsifromexynos5422-cpus.dtsi
- drop compatibles fromexynos5422-cpus.dtsiChanges from v1:
- renameexynos5422.dtsitoexynos5422-cpus.dtsi
- include the dtsi file top of theexynos5422-odroidxu3.dtsSecondary cpu booting problem[1] is not resolved yet. Need more investigations to work booting 8 cores correctly.
[1]: http://www.spinics.net/lists/linux-samsung-soc/msg45525.html
arch/arm/boot/dts/exynos5422-cpus.dtsi | 81 ++++++++++++++++++++++ arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi | 1 + 2 files changed, 82 insertions(+) create mode 100644 arch/arm/boot/dts/exynos5422-cpus.dtsi
Quoted 7 lines
Quoted 3 lines
Thanks, applied to my tree. I'll sent it to Kukjin later for 4.3 unless he picks it up from LKML.
Hi Krzysztof,
If you're OK, I'd like to pick this up into Samsung tree with your ack based on 4.2-rc1.
Yes, please go ahead. It already has my reviewed-by tag. However the sob does not match author so it should be resent once again.
Best regards,
Krzysztof