diff options
author | Olof Johansson <olof@lixom.net> | 2013-06-14 18:06:19 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-06-14 18:06:19 -0400 |
commit | 9214cbe50fe74542f803dcc8d81f5e99c72918bf (patch) | |
tree | 8d25ccc14e81ac0fa621108c9ab913a524658c3a | |
parent | 1e76c7cb3c1d281be2e452e780e53859abc7c145 (diff) | |
parent | 918f8f309643978b9e761f39af8962a7388d332d (diff) |
Merge tag 'dt-3.11-5' of git://git.infradead.org/users/jcooper/linux into next/dt
From Jason Cooper:
mvebu dt changes for v3.11 (round 5)
- mvebu
- set aliases for ethernet interfaces
- PCIe range for armada-xp-db
- rm unused properties on A370
- kirkwood
- assign sheevaplug pinmuxs to correct devices
- enable second PCIe port for ts219
* tag 'dt-3.11-5' of git://git.infradead.org/users/jcooper/linux:
ARM: Kirkwood: ts219: Enable second PCIe port in DT.
ARM: mvebu: Remove device tree unused properties on A370
arm: mvebu: armada-xp-db: ensure PCIe range is specified
arm: kirkwood: sheevaplug: move pinmux configs to the right devices
ARM: mvebu: set aliases for ethernet controllers
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/boot/dts/armada-370-xp.dtsi | 9 | ||||
-rw-r--r-- | arch/arm/boot/dts/armada-370.dtsi | 4 | ||||
-rw-r--r-- | arch/arm/boot/dts/armada-xp-db.dts | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/armada-xp-mv78460.dtsi | 3 | ||||
-rw-r--r-- | arch/arm/boot/dts/armada-xp.dtsi | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-sheevaplug-common.dtsi | 16 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts | 21 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-sheevaplug.dts | 18 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-ts219-6282.dts | 8 |
9 files changed, 49 insertions, 37 deletions
diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi index 36feff3a363e..a679b6697a98 100644 --- a/arch/arm/boot/dts/armada-370-xp.dtsi +++ b/arch/arm/boot/dts/armada-370-xp.dtsi | |||
@@ -22,6 +22,11 @@ | |||
22 | model = "Marvell Armada 370 and XP SoC"; | 22 | model = "Marvell Armada 370 and XP SoC"; |
23 | compatible = "marvell,armada-370-xp"; | 23 | compatible = "marvell,armada-370-xp"; |
24 | 24 | ||
25 | aliases { | ||
26 | eth0 = ð0; | ||
27 | eth1 = ð1; | ||
28 | }; | ||
29 | |||
25 | cpus { | 30 | cpus { |
26 | #address-cells = <1>; | 31 | #address-cells = <1>; |
27 | #size-cells = <0>; | 32 | #size-cells = <0>; |
@@ -98,7 +103,7 @@ | |||
98 | reg = <0x72004 0x4>; | 103 | reg = <0x72004 0x4>; |
99 | }; | 104 | }; |
100 | 105 | ||
101 | ethernet@70000 { | 106 | eth0: ethernet@70000 { |
102 | compatible = "marvell,armada-370-neta"; | 107 | compatible = "marvell,armada-370-neta"; |
103 | reg = <0x70000 0x2500>; | 108 | reg = <0x70000 0x2500>; |
104 | interrupts = <8>; | 109 | interrupts = <8>; |
@@ -106,7 +111,7 @@ | |||
106 | status = "disabled"; | 111 | status = "disabled"; |
107 | }; | 112 | }; |
108 | 113 | ||
109 | ethernet@74000 { | 114 | eth1: ethernet@74000 { |
110 | compatible = "marvell,armada-370-neta"; | 115 | compatible = "marvell,armada-370-neta"; |
111 | reg = <0x74000 0x2500>; | 116 | reg = <0x74000 0x2500>; |
112 | interrupts = <10>; | 117 | interrupts = <10>; |
diff --git a/arch/arm/boot/dts/armada-370.dtsi b/arch/arm/boot/dts/armada-370.dtsi index aee2b1866ce2..fa3dfc6b4c6a 100644 --- a/arch/arm/boot/dts/armada-370.dtsi +++ b/arch/arm/boot/dts/armada-370.dtsi | |||
@@ -180,10 +180,6 @@ | |||
180 | 180 | ||
181 | bus-range = <0x00 0xff>; | 181 | bus-range = <0x00 0xff>; |
182 | 182 | ||
183 | reg = <0x40000 0x2000>, <0x80000 0x2000>; | ||
184 | |||
185 | reg-names = "pcie0.0", "pcie1.0"; | ||
186 | |||
187 | ranges = <0x82000000 0 0x40000 0x40000 0 0x00002000 /* Port 0.0 registers */ | 183 | ranges = <0x82000000 0 0x40000 0x40000 0 0x00002000 /* Port 0.0 registers */ |
188 | 0x82000000 0 0x80000 0x80000 0 0x00002000 /* Port 1.0 registers */ | 184 | 0x82000000 0 0x80000 0x80000 0 0x00002000 /* Port 1.0 registers */ |
189 | 0x82000000 0 0xe0000000 0xe0000000 0 0x08000000 /* non-prefetchable memory */ | 185 | 0x82000000 0 0xe0000000 0xe0000000 0 0x08000000 /* non-prefetchable memory */ |
diff --git a/arch/arm/boot/dts/armada-xp-db.dts b/arch/arm/boot/dts/armada-xp-db.dts index f5fc1a3868a2..e28e68ff864d 100644 --- a/arch/arm/boot/dts/armada-xp-db.dts +++ b/arch/arm/boot/dts/armada-xp-db.dts | |||
@@ -31,6 +31,7 @@ | |||
31 | 31 | ||
32 | soc { | 32 | soc { |
33 | ranges = <0 0 0xd0000000 0x100000 /* Internal registers 1MiB */ | 33 | ranges = <0 0 0xd0000000 0x100000 /* Internal registers 1MiB */ |
34 | 0xe0000000 0 0xe0000000 0x8100000 /* PCIe */ | ||
34 | 0xf0000000 0 0xf0000000 0x1000000>; /* Device Bus, NOR 16MiB */ | 35 | 0xf0000000 0 0xf0000000 0x1000000>; /* Device Bus, NOR 16MiB */ |
35 | 36 | ||
36 | internal-regs { | 37 | internal-regs { |
diff --git a/arch/arm/boot/dts/armada-xp-mv78460.dtsi b/arch/arm/boot/dts/armada-xp-mv78460.dtsi index 6ab56bd35de9..386f0ce48453 100644 --- a/arch/arm/boot/dts/armada-xp-mv78460.dtsi +++ b/arch/arm/boot/dts/armada-xp-mv78460.dtsi | |||
@@ -23,6 +23,7 @@ | |||
23 | gpio0 = &gpio0; | 23 | gpio0 = &gpio0; |
24 | gpio1 = &gpio1; | 24 | gpio1 = &gpio1; |
25 | gpio2 = &gpio2; | 25 | gpio2 = &gpio2; |
26 | eth3 = ð3; | ||
26 | }; | 27 | }; |
27 | 28 | ||
28 | 29 | ||
@@ -105,7 +106,7 @@ | |||
105 | interrupts = <91>; | 106 | interrupts = <91>; |
106 | }; | 107 | }; |
107 | 108 | ||
108 | ethernet@34000 { | 109 | eth3: ethernet@34000 { |
109 | compatible = "marvell,armada-370-neta"; | 110 | compatible = "marvell,armada-370-neta"; |
110 | reg = <0x34000 0x2500>; | 111 | reg = <0x34000 0x2500>; |
111 | interrupts = <14>; | 112 | interrupts = <14>; |
diff --git a/arch/arm/boot/dts/armada-xp.dtsi b/arch/arm/boot/dts/armada-xp.dtsi index 5b902f9a3af2..e481d54b565c 100644 --- a/arch/arm/boot/dts/armada-xp.dtsi +++ b/arch/arm/boot/dts/armada-xp.dtsi | |||
@@ -22,6 +22,10 @@ | |||
22 | model = "Marvell Armada XP family SoC"; | 22 | model = "Marvell Armada XP family SoC"; |
23 | compatible = "marvell,armadaxp", "marvell,armada-370-xp"; | 23 | compatible = "marvell,armadaxp", "marvell,armada-370-xp"; |
24 | 24 | ||
25 | aliases { | ||
26 | eth2 = ð2; | ||
27 | }; | ||
28 | |||
25 | soc { | 29 | soc { |
26 | internal-regs { | 30 | internal-regs { |
27 | L2: l2-cache { | 31 | L2: l2-cache { |
@@ -86,7 +90,7 @@ | |||
86 | reg = <0x18200 0x500>; | 90 | reg = <0x18200 0x500>; |
87 | }; | 91 | }; |
88 | 92 | ||
89 | ethernet@30000 { | 93 | eth2: ethernet@30000 { |
90 | compatible = "marvell,armada-370-neta"; | 94 | compatible = "marvell,armada-370-neta"; |
91 | reg = <0x30000 0x2500>; | 95 | reg = <0x30000 0x2500>; |
92 | interrupts = <12>; | 96 | interrupts = <12>; |
diff --git a/arch/arm/boot/dts/kirkwood-sheevaplug-common.dtsi b/arch/arm/boot/dts/kirkwood-sheevaplug-common.dtsi index 9d5947599694..f7143f128504 100644 --- a/arch/arm/boot/dts/kirkwood-sheevaplug-common.dtsi +++ b/arch/arm/boot/dts/kirkwood-sheevaplug-common.dtsi | |||
@@ -44,10 +44,14 @@ | |||
44 | }; | 44 | }; |
45 | }; | 45 | }; |
46 | serial@12000 { | 46 | serial@12000 { |
47 | pinctrl-0 = <&pmx_uart0>; | ||
48 | pinctrl-names = "default"; | ||
47 | status = "okay"; | 49 | status = "okay"; |
48 | }; | 50 | }; |
49 | 51 | ||
50 | nand@3000000 { | 52 | nand@3000000 { |
53 | pinctrl-0 = <&pmx_nand>; | ||
54 | pinctrl-names = "default"; | ||
51 | status = "okay"; | 55 | status = "okay"; |
52 | 56 | ||
53 | partition@0 { | 57 | partition@0 { |
@@ -71,6 +75,8 @@ | |||
71 | compatible = "simple-bus"; | 75 | compatible = "simple-bus"; |
72 | #address-cells = <1>; | 76 | #address-cells = <1>; |
73 | #size-cells = <0>; | 77 | #size-cells = <0>; |
78 | pinctrl-0 = <&pmx_usb_power_enable>; | ||
79 | pinctrl-names = "default"; | ||
74 | 80 | ||
75 | usb_power: regulator@1 { | 81 | usb_power: regulator@1 { |
76 | compatible = "regulator-fixed"; | 82 | compatible = "regulator-fixed"; |
@@ -84,14 +90,4 @@ | |||
84 | gpio = <&gpio0 29 0>; | 90 | gpio = <&gpio0 29 0>; |
85 | }; | 91 | }; |
86 | }; | 92 | }; |
87 | |||
88 | gpio-leds { | ||
89 | compatible = "gpio-leds"; | ||
90 | |||
91 | health { | ||
92 | label = "sheevaplug:blue:health"; | ||
93 | gpios = <&gpio1 17 1>; | ||
94 | linux,default-trigger = "default-on"; | ||
95 | }; | ||
96 | }; | ||
97 | }; | 93 | }; |
diff --git a/arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts b/arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts index 1c6946a62aa9..f620ce48de97 100644 --- a/arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts +++ b/arch/arm/boot/dts/kirkwood-sheevaplug-esata.dts | |||
@@ -15,15 +15,6 @@ | |||
15 | compatible = "globalscale,sheevaplug-esata-rev13", "globalscale,sheevaplug-esata", "globalscale,sheevaplug", "marvell,kirkwood-88f6281", "marvell,kirkwood"; | 15 | compatible = "globalscale,sheevaplug-esata-rev13", "globalscale,sheevaplug-esata", "globalscale,sheevaplug", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
16 | 16 | ||
17 | ocp@f1000000 { | 17 | ocp@f1000000 { |
18 | pinctrl: pinctrl@10000 { | ||
19 | |||
20 | pinctrl-0 = < &pmx_nand &pmx_uart0 | ||
21 | &pmx_usb_power_enable | ||
22 | &pmx_led_blue>; | ||
23 | pinctrl-names = "default"; | ||
24 | |||
25 | }; | ||
26 | |||
27 | sata@80000 { | 18 | sata@80000 { |
28 | status = "okay"; | 19 | status = "okay"; |
29 | nr-ports = <2>; | 20 | nr-ports = <2>; |
@@ -37,4 +28,16 @@ | |||
37 | wp-gpios = <&gpio1 15 0>; | 28 | wp-gpios = <&gpio1 15 0>; |
38 | }; | 29 | }; |
39 | }; | 30 | }; |
31 | |||
32 | gpio-leds { | ||
33 | compatible = "gpio-leds"; | ||
34 | pinctrl-0 = <&pmx_led_blue>; | ||
35 | pinctrl-names = "default"; | ||
36 | |||
37 | health { | ||
38 | label = "sheevaplug:blue:health"; | ||
39 | gpios = <&gpio1 17 1>; | ||
40 | linux,default-trigger = "default-on"; | ||
41 | }; | ||
42 | }; | ||
40 | }; | 43 | }; |
diff --git a/arch/arm/boot/dts/kirkwood-sheevaplug.dts b/arch/arm/boot/dts/kirkwood-sheevaplug.dts index f7684066f0ce..bf1dff251432 100644 --- a/arch/arm/boot/dts/kirkwood-sheevaplug.dts +++ b/arch/arm/boot/dts/kirkwood-sheevaplug.dts | |||
@@ -15,16 +15,6 @@ | |||
15 | compatible = "globalscale,sheevaplug", "marvell,kirkwood-88f6281", "marvell,kirkwood"; | 15 | compatible = "globalscale,sheevaplug", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
16 | 16 | ||
17 | ocp@f1000000 { | 17 | ocp@f1000000 { |
18 | pinctrl: pinctrl@10000 { | ||
19 | |||
20 | pinctrl-0 = < &pmx_nand &pmx_uart0 | ||
21 | &pmx_usb_power_enable | ||
22 | &pmx_led_red | ||
23 | &pmx_led_blue>; | ||
24 | pinctrl-names = "default"; | ||
25 | |||
26 | }; | ||
27 | |||
28 | mvsdio@90000 { | 18 | mvsdio@90000 { |
29 | pinctrl-0 = <&pmx_sdio>; | 19 | pinctrl-0 = <&pmx_sdio>; |
30 | pinctrl-names = "default"; | 20 | pinctrl-names = "default"; |
@@ -36,6 +26,14 @@ | |||
36 | 26 | ||
37 | gpio-leds { | 27 | gpio-leds { |
38 | compatible = "gpio-leds"; | 28 | compatible = "gpio-leds"; |
29 | pinctrl-0 = <&pmx_led_blue &pmx_led_red>; | ||
30 | pinctrl-names = "default"; | ||
31 | |||
32 | health { | ||
33 | label = "sheevaplug:blue:health"; | ||
34 | gpios = <&gpio1 17 1>; | ||
35 | linux,default-trigger = "default-on"; | ||
36 | }; | ||
39 | 37 | ||
40 | misc { | 38 | misc { |
41 | label = "sheevaplug:red:misc"; | 39 | label = "sheevaplug:red:misc"; |
diff --git a/arch/arm/boot/dts/kirkwood-ts219-6282.dts b/arch/arm/boot/dts/kirkwood-ts219-6282.dts index a4554cb8b954..b5be3ea9b34d 100644 --- a/arch/arm/boot/dts/kirkwood-ts219-6282.dts +++ b/arch/arm/boot/dts/kirkwood-ts219-6282.dts | |||
@@ -29,6 +29,14 @@ | |||
29 | marvell,function = "gpio"; | 29 | marvell,function = "gpio"; |
30 | }; | 30 | }; |
31 | }; | 31 | }; |
32 | pcie-controller { | ||
33 | status = "okay"; | ||
34 | |||
35 | pcie@2,0 { | ||
36 | status = "okay"; | ||
37 | }; | ||
38 | }; | ||
39 | |||
32 | }; | 40 | }; |
33 | 41 | ||
34 | gpio_keys { | 42 | gpio_keys { |