diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2013-04-12 10:29:09 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-04-15 11:00:24 -0400 |
commit | 467f54b2157bd01a487fd933122fd193f1e13911 (patch) | |
tree | f2f9e0833d5cc017a2423cc6afc990d1c5185a44 /arch/arm/boot/dts/armada-370-rd.dts | |
parent | 82a682676ce34e59369f60168a8729348aaae4d0 (diff) |
ARM: dts: mvebu: introduce internal-regs node
Introduce a 'internal-regs' subnode, under which all devices are
moved. This is not really needed for now, but will be for the
mvebu-mbus driver. This generates a lot of code movement since it's
indenting by one more tab all the devices. So it was a good
opportunity to fix all the bad indentation.
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/armada-370-rd.dts')
-rw-r--r-- | arch/arm/boot/dts/armada-370-rd.dts | 96 |
1 files changed, 49 insertions, 47 deletions
diff --git a/arch/arm/boot/dts/armada-370-rd.dts b/arch/arm/boot/dts/armada-370-rd.dts index 83d5c0419750..130f8390a7e4 100644 --- a/arch/arm/boot/dts/armada-370-rd.dts +++ b/arch/arm/boot/dts/armada-370-rd.dts | |||
@@ -28,60 +28,62 @@ | |||
28 | }; | 28 | }; |
29 | 29 | ||
30 | soc { | 30 | soc { |
31 | serial@12000 { | 31 | internal-regs { |
32 | clock-frequency = <200000000>; | 32 | serial@12000 { |
33 | status = "okay"; | 33 | clock-frequency = <200000000>; |
34 | }; | 34 | status = "okay"; |
35 | sata@a0000 { | ||
36 | nr-ports = <2>; | ||
37 | status = "okay"; | ||
38 | }; | ||
39 | |||
40 | mdio { | ||
41 | phy0: ethernet-phy@0 { | ||
42 | reg = <0>; | ||
43 | }; | 35 | }; |
36 | sata@a0000 { | ||
37 | nr-ports = <2>; | ||
38 | status = "okay"; | ||
39 | }; | ||
40 | |||
41 | mdio { | ||
42 | phy0: ethernet-phy@0 { | ||
43 | reg = <0>; | ||
44 | }; | ||
44 | 45 | ||
45 | phy1: ethernet-phy@1 { | 46 | phy1: ethernet-phy@1 { |
46 | reg = <1>; | 47 | reg = <1>; |
48 | }; | ||
47 | }; | 49 | }; |
48 | }; | ||
49 | 50 | ||
50 | ethernet@70000 { | 51 | ethernet@70000 { |
51 | status = "okay"; | 52 | status = "okay"; |
52 | phy = <&phy0>; | 53 | phy = <&phy0>; |
53 | phy-mode = "sgmii"; | 54 | phy-mode = "sgmii"; |
54 | }; | 55 | }; |
55 | ethernet@74000 { | 56 | ethernet@74000 { |
56 | status = "okay"; | 57 | status = "okay"; |
57 | phy = <&phy1>; | 58 | phy = <&phy1>; |
58 | phy-mode = "rgmii-id"; | 59 | phy-mode = "rgmii-id"; |
59 | }; | 60 | }; |
60 | 61 | ||
61 | mvsdio@d4000 { | 62 | mvsdio@d4000 { |
62 | pinctrl-0 = <&sdio_pins1>; | 63 | pinctrl-0 = <&sdio_pins1>; |
63 | pinctrl-names = "default"; | 64 | pinctrl-names = "default"; |
64 | status = "okay"; | 65 | status = "okay"; |
65 | /* No CD or WP GPIOs */ | 66 | /* No CD or WP GPIOs */ |
66 | }; | 67 | }; |
67 | 68 | ||
68 | usb@50000 { | 69 | usb@50000 { |
69 | status = "okay"; | 70 | status = "okay"; |
70 | }; | 71 | }; |
71 | 72 | ||
72 | usb@51000 { | 73 | usb@51000 { |
73 | status = "okay"; | 74 | status = "okay"; |
74 | }; | 75 | }; |
75 | }; | ||
76 | 76 | ||
77 | gpio-keys { | 77 | gpio-keys { |
78 | compatible = "gpio-keys"; | 78 | compatible = "gpio-keys"; |
79 | #address-cells = <1>; | 79 | #address-cells = <1>; |
80 | #size-cells = <0>; | 80 | #size-cells = <0>; |
81 | button@1 { | 81 | button@1 { |
82 | label = "Software Button"; | 82 | label = "Software Button"; |
83 | linux,code = <116>; | 83 | linux,code = <116>; |
84 | gpios = <&gpio0 6 1>; | 84 | gpios = <&gpio0 6 1>; |
85 | }; | ||
86 | }; | ||
85 | }; | 87 | }; |
86 | }; | 88 | }; |
87 | }; | 89 | }; |