ARM: dts: Make CPU configuration more readable on exynos542x/5800
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Fri, 11 Dec 2015 06:05:56 +0000 (15:05 +0900)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 28 Jan 2016 10:30:11 +0000 (19:30 +0900)
commit4f0d20ec19691b034e4b80928b6454c9f9d5ef90
treeb778dd705b9d036077f9af74f5db29a2daad2a66
parent145794121f0029f18b2754a91b0b313304167b39
ARM: dts: Make CPU configuration more readable on exynos542x/5800

Exynos5420 and Exynos5800 boards boot from big core (A15) but
Exynos5422 boards choose otherwise: LITTLE core (A7) (on Exynos5422 this
is property of the board - configurable by pulling up/down gpg2-1).
To make user-visible CPU ordering more consistent the 'cpus' node was
overridden by exynos5422-cpus.dtsi.

However this is a little bit ugly and error-prone. Overriding the CPU
child nodes requires to basically reverse what was done initially in
exynos5420.dtsi.

Instead, split CPU configuration entirely to separate files which should
be included by board DTS.

Suggested-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Chanho Park <parkch98@gmail.com>
arch/arm/boot/dts/exynos5420-arndale-octa.dts
arch/arm/boot/dts/exynos5420-cpus.dtsi [new file with mode: 0644]
arch/arm/boot/dts/exynos5420-peach-pit.dts
arch/arm/boot/dts/exynos5420-smdk5420.dts
arch/arm/boot/dts/exynos5420.dtsi
arch/arm/boot/dts/exynos5422-cpus.dtsi
arch/arm/boot/dts/exynos5800-peach-pi.dts