]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ARM: kirkwood: refactor dtsi to largest common nodes
authorValentin Longchamp <valentin.longchamp@keymile.com>
Mon, 27 May 2013 15:40:32 +0000 (17:40 +0200)
committerJason Cooper <jason@lakedaemon.net>
Mon, 27 May 2013 16:14:58 +0000 (16:14 +0000)
commitdf6bf2e9a72eb0e77febb15e85a08c5477f874d7
treebbac080adbc8f361dd764fe37e5e15f1eb4efeed
parent9196024a989ace933d6b17e0a56c847d02d81240
ARM: kirkwood: refactor dtsi to largest common nodes

Some kirkwood variants (for instance present in the prestera SoCs) do
not have all the peripherals whose nodes are declared in
kirkwood.dtsi. These missing peripherals are SATA, SDIO, and RTC.

As discussed in [1], to avoid that these missing peripherals get
initialized which could result in system hangs when accessing
undocumented/not present HW registers, their corresponding OF nodes
should not get declared at all for some kirkwood variants.

The corresponding OF nodes of these peripherals thus are moved from
kirkwood.dtsi to the kirkwood-628x.dtsi files so that they still are
initialized for these variants where they are present.

[1]
http://lists.infradead.org/pipermail/linux-arm-kernel/2013-May/167154.html

Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/kirkwood-6281.dtsi
arch/arm/boot/dts/kirkwood-6282.dtsi
arch/arm/boot/dts/kirkwood-nsa310.dts
arch/arm/boot/dts/kirkwood.dtsi