diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-09-13 11:41:15 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2016-09-13 11:41:15 -0400 |
commit | 971b4c6e1a827e2b01738772a2a7cfd8b0842286 (patch) | |
tree | db5cfa46f38259904e2bf5d17dc0e119d88d3f33 /arch/arm | |
parent | 83a9660af6cf96b44c87a0312be2d2cae7640544 (diff) | |
parent | b4e54510b51ae666ed7cef291bba0f86ad3d8e20 (diff) |
Merge tag 'realview-dts-split' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator into next/dt
Pull "RealView DTS file fixup and split" from Linus Walleij:
Fix the ethernet issue on revision D of the RealView EB
Split the DTS files in per-revision variants
* tag 'realview-dts-split' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-integrator:
ARM: dts: add RealView EB rev D A9 MPCore variant
ARM: dts: split RealView EB 11MPCore variants
ARM: dts: add device tree for the RealView EB Rev D
ARM: dts: fix RealView EB SMSC ethernet version
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/Makefile | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/arm-realview-eb-11mp-bbrevd-ctrevb.dts | 32 | ||||
-rw-r--r-- | arch/arm/boot/dts/arm-realview-eb-11mp-bbrevd.dts | 28 | ||||
-rw-r--r-- | arch/arm/boot/dts/arm-realview-eb-11mp-ctrevb.dts (renamed from arch/arm/boot/dts/arm-realview-eb-11mp-revb.dts) | 0 | ||||
-rw-r--r-- | arch/arm/boot/dts/arm-realview-eb-11mp.dts | 2 | ||||
-rw-r--r-- | arch/arm/boot/dts/arm-realview-eb-a9mp-bbrevd.dts | 28 | ||||
-rw-r--r-- | arch/arm/boot/dts/arm-realview-eb-bbrevd.dts | 29 | ||||
-rw-r--r-- | arch/arm/boot/dts/arm-realview-eb-bbrevd.dtsi | 45 | ||||
-rw-r--r-- | arch/arm/boot/dts/arm-realview-eb.dtsi | 23 |
9 files changed, 175 insertions, 18 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 7edcf006b739..e9d5c984db2c 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -609,9 +609,13 @@ dtb-$(CONFIG_ARCH_REALVIEW) += \ | |||
609 | arm-realview-pb1176.dtb \ | 609 | arm-realview-pb1176.dtb \ |
610 | arm-realview-pb11mp.dtb \ | 610 | arm-realview-pb11mp.dtb \ |
611 | arm-realview-eb.dtb \ | 611 | arm-realview-eb.dtb \ |
612 | arm-realview-eb-bbrevd.dtb \ | ||
612 | arm-realview-eb-11mp.dtb \ | 613 | arm-realview-eb-11mp.dtb \ |
613 | arm-realview-eb-11mp-revb.dtb \ | 614 | arm-realview-eb-11mp-bbrevd.dtb \ |
615 | arm-realview-eb-11mp-ctrevb.dtb \ | ||
616 | arm-realview-eb-11mp-bbrevd-ctrevb.dtb \ | ||
614 | arm-realview-eb-a9mp.dtb \ | 617 | arm-realview-eb-a9mp.dtb \ |
618 | arm-realview-eb-a9mp-bbrevd.dtb \ | ||
615 | arm-realview-pba8.dtb \ | 619 | arm-realview-pba8.dtb \ |
616 | arm-realview-pbx-a9.dtb | 620 | arm-realview-pbx-a9.dtb |
617 | dtb-$(CONFIG_ARCH_ROCKCHIP) += \ | 621 | dtb-$(CONFIG_ARCH_ROCKCHIP) += \ |
diff --git a/arch/arm/boot/dts/arm-realview-eb-11mp-bbrevd-ctrevb.dts b/arch/arm/boot/dts/arm-realview-eb-11mp-bbrevd-ctrevb.dts new file mode 100644 index 000000000000..e18769df9fd9 --- /dev/null +++ b/arch/arm/boot/dts/arm-realview-eb-11mp-bbrevd-ctrevb.dts | |||
@@ -0,0 +1,32 @@ | |||
1 | /* | ||
2 | * Copyright 2016 Linaro Ltd | ||
3 | * | ||
4 | * Permission is hereby granted, free of charge, to any person obtaining a copy | ||
5 | * of this software and associated documentation files (the "Software"), to deal | ||
6 | * in the Software without restriction, including without limitation the rights | ||
7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
8 | * copies of the Software, and to permit persons to whom the Software is | ||
9 | * furnished to do so, subject to the following conditions: | ||
10 | * | ||
11 | * The above copyright notice and this permission notice shall be included in | ||
12 | * all copies or substantial portions of the Software. | ||
13 | * | ||
14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
17 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
20 | * THE SOFTWARE. | ||
21 | */ | ||
22 | |||
23 | #include "arm-realview-eb-11mp-ctrevb.dts" | ||
24 | #include "arm-realview-eb-bbrevd.dtsi" | ||
25 | |||
26 | /* | ||
27 | * This is the EB with the new Revision D baseboard with SMSC9118 ethernet and | ||
28 | * the Rev B core tile. | ||
29 | */ | ||
30 | / { | ||
31 | model = "ARM RealView Emulation Baseboard Rev D with ARM11MPCore Core Tile Rev B"; | ||
32 | }; | ||
diff --git a/arch/arm/boot/dts/arm-realview-eb-11mp-bbrevd.dts b/arch/arm/boot/dts/arm-realview-eb-11mp-bbrevd.dts new file mode 100644 index 000000000000..26b1c69e9f43 --- /dev/null +++ b/arch/arm/boot/dts/arm-realview-eb-11mp-bbrevd.dts | |||
@@ -0,0 +1,28 @@ | |||
1 | /* | ||
2 | * Copyright 2016 Linaro Ltd | ||
3 | * | ||
4 | * Permission is hereby granted, free of charge, to any person obtaining a copy | ||
5 | * of this software and associated documentation files (the "Software"), to deal | ||
6 | * in the Software without restriction, including without limitation the rights | ||
7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
8 | * copies of the Software, and to permit persons to whom the Software is | ||
9 | * furnished to do so, subject to the following conditions: | ||
10 | * | ||
11 | * The above copyright notice and this permission notice shall be included in | ||
12 | * all copies or substantial portions of the Software. | ||
13 | * | ||
14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
17 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
20 | * THE SOFTWARE. | ||
21 | */ | ||
22 | |||
23 | #include "arm-realview-eb-11mp.dts" | ||
24 | #include "arm-realview-eb-bbrevd.dtsi" | ||
25 | |||
26 | / { | ||
27 | model = "ARM RealView Emulation Baseboard Rev D with ARM11MPCore Rev C Core Tile"; | ||
28 | }; | ||
diff --git a/arch/arm/boot/dts/arm-realview-eb-11mp-revb.dts b/arch/arm/boot/dts/arm-realview-eb-11mp-ctrevb.dts index e68527b0d552..e68527b0d552 100644 --- a/arch/arm/boot/dts/arm-realview-eb-11mp-revb.dts +++ b/arch/arm/boot/dts/arm-realview-eb-11mp-ctrevb.dts | |||
diff --git a/arch/arm/boot/dts/arm-realview-eb-11mp.dts b/arch/arm/boot/dts/arm-realview-eb-11mp.dts index 87ff602a2a2d..aac1edd4b227 100644 --- a/arch/arm/boot/dts/arm-realview-eb-11mp.dts +++ b/arch/arm/boot/dts/arm-realview-eb-11mp.dts | |||
@@ -24,7 +24,7 @@ | |||
24 | #include "arm-realview-eb-mp.dtsi" | 24 | #include "arm-realview-eb-mp.dtsi" |
25 | 25 | ||
26 | / { | 26 | / { |
27 | model = "ARM RealView Emulation Baseboard with ARM11MPCore Rev C"; | 27 | model = "ARM RealView Emulation Baseboard with ARM11MPCore Rev C Core Tile"; |
28 | arm,hbi = <0x146>; | 28 | arm,hbi = <0x146>; |
29 | 29 | ||
30 | /* | 30 | /* |
diff --git a/arch/arm/boot/dts/arm-realview-eb-a9mp-bbrevd.dts b/arch/arm/boot/dts/arm-realview-eb-a9mp-bbrevd.dts new file mode 100644 index 000000000000..42efac7496ef --- /dev/null +++ b/arch/arm/boot/dts/arm-realview-eb-a9mp-bbrevd.dts | |||
@@ -0,0 +1,28 @@ | |||
1 | /* | ||
2 | * Copyright 2016 Linaro Ltd | ||
3 | * | ||
4 | * Permission is hereby granted, free of charge, to any person obtaining a copy | ||
5 | * of this software and associated documentation files (the "Software"), to deal | ||
6 | * in the Software without restriction, including without limitation the rights | ||
7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
8 | * copies of the Software, and to permit persons to whom the Software is | ||
9 | * furnished to do so, subject to the following conditions: | ||
10 | * | ||
11 | * The above copyright notice and this permission notice shall be included in | ||
12 | * all copies or substantial portions of the Software. | ||
13 | * | ||
14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
17 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
20 | * THE SOFTWARE. | ||
21 | */ | ||
22 | |||
23 | #include "arm-realview-eb-a9mp.dts" | ||
24 | #include "arm-realview-eb-bbrevd.dtsi" | ||
25 | |||
26 | / { | ||
27 | model = "ARM RealView EB Baseboard Rev D Cortex A9 MPCore"; | ||
28 | }; | ||
diff --git a/arch/arm/boot/dts/arm-realview-eb-bbrevd.dts b/arch/arm/boot/dts/arm-realview-eb-bbrevd.dts new file mode 100644 index 000000000000..f533c8b49d97 --- /dev/null +++ b/arch/arm/boot/dts/arm-realview-eb-bbrevd.dts | |||
@@ -0,0 +1,29 @@ | |||
1 | /* | ||
2 | * Copyright 2016 Linaro Ltd | ||
3 | * | ||
4 | * Permission is hereby granted, free of charge, to any person obtaining a copy | ||
5 | * of this software and associated documentation files (the "Software"), to deal | ||
6 | * in the Software without restriction, including without limitation the rights | ||
7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
8 | * copies of the Software, and to permit persons to whom the Software is | ||
9 | * furnished to do so, subject to the following conditions: | ||
10 | * | ||
11 | * The above copyright notice and this permission notice shall be included in | ||
12 | * all copies or substantial portions of the Software. | ||
13 | * | ||
14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
17 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
20 | * THE SOFTWARE. | ||
21 | */ | ||
22 | |||
23 | /* This derives from the Realview Baseboard, and overlays the new ethernet */ | ||
24 | #include "arm-realview-eb.dts" | ||
25 | #include "arm-realview-eb-bbrevd.dtsi" | ||
26 | |||
27 | / { | ||
28 | model = "ARM RealView Emulation Baseboard Rev D"; | ||
29 | }; | ||
diff --git a/arch/arm/boot/dts/arm-realview-eb-bbrevd.dtsi b/arch/arm/boot/dts/arm-realview-eb-bbrevd.dtsi new file mode 100644 index 000000000000..a79e1d1d30a7 --- /dev/null +++ b/arch/arm/boot/dts/arm-realview-eb-bbrevd.dtsi | |||
@@ -0,0 +1,45 @@ | |||
1 | /* | ||
2 | * Copyright 2016 Linaro Ltd | ||
3 | * | ||
4 | * Permission is hereby granted, free of charge, to any person obtaining a copy | ||
5 | * of this software and associated documentation files (the "Software"), to deal | ||
6 | * in the Software without restriction, including without limitation the rights | ||
7 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
8 | * copies of the Software, and to permit persons to whom the Software is | ||
9 | * furnished to do so, subject to the following conditions: | ||
10 | * | ||
11 | * The above copyright notice and this permission notice shall be included in | ||
12 | * all copies or substantial portions of the Software. | ||
13 | * | ||
14 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
15 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
16 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
17 | * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
18 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
19 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
20 | * THE SOFTWARE. | ||
21 | */ | ||
22 | |||
23 | / { | ||
24 | /* Introduce a fixed regulator for the new ethernet controller */ | ||
25 | veth: fixedregulator@0 { | ||
26 | compatible = "regulator-fixed"; | ||
27 | regulator-name = "veth"; | ||
28 | regulator-min-microvolt = <3300000>; | ||
29 | regulator-max-microvolt = <3300000>; | ||
30 | regulator-boot-on; | ||
31 | }; | ||
32 | }; | ||
33 | |||
34 | /* | ||
35 | * The revision D has a different ethernet controller that the elder boards: | ||
36 | * the older board uses LAN91C111 but the new one uses LAN9118. | ||
37 | */ | ||
38 | ðernet { | ||
39 | compatible = "smsc,lan9118", "smsc,lan9115"; | ||
40 | phy-mode = "mii"; | ||
41 | smsc,irq-active-high; | ||
42 | smsc,irq-push-pull; | ||
43 | vdd33a-supply = <&veth>; | ||
44 | vddvario-supply = <&veth>; | ||
45 | }; | ||
diff --git a/arch/arm/boot/dts/arm-realview-eb.dtsi b/arch/arm/boot/dts/arm-realview-eb.dtsi index 1c6a040218e3..e2e9599596e2 100644 --- a/arch/arm/boot/dts/arm-realview-eb.dtsi +++ b/arch/arm/boot/dts/arm-realview-eb.dtsi | |||
@@ -51,14 +51,6 @@ | |||
51 | regulator-boot-on; | 51 | regulator-boot-on; |
52 | }; | 52 | }; |
53 | 53 | ||
54 | veth: fixedregulator@0 { | ||
55 | compatible = "regulator-fixed"; | ||
56 | regulator-name = "veth"; | ||
57 | regulator-min-microvolt = <3300000>; | ||
58 | regulator-max-microvolt = <3300000>; | ||
59 | regulator-boot-on; | ||
60 | }; | ||
61 | |||
62 | xtal24mhz: xtal24mhz@24M { | 54 | xtal24mhz: xtal24mhz@24M { |
63 | #clock-cells = <0>; | 55 | #clock-cells = <0>; |
64 | compatible = "fixed-clock"; | 56 | compatible = "fixed-clock"; |
@@ -134,16 +126,15 @@ | |||
134 | bank-width = <4>; | 126 | bank-width = <4>; |
135 | }; | 127 | }; |
136 | 128 | ||
137 | /* SMSC 9118 ethernet with PHY and EEPROM */ | 129 | /* SMSC LAN91C111 ethernet with PHY and EEPROM */ |
138 | ethernet: ethernet@4e000000 { | 130 | ethernet: ethernet@4e000000 { |
139 | compatible = "smsc,lan9118", "smsc,lan9115"; | 131 | compatible = "smsc,lan91c111"; |
140 | reg = <0x4e000000 0x10000>; | 132 | reg = <0x4e000000 0x10000>; |
141 | phy-mode = "mii"; | 133 | /* |
142 | reg-io-width = <4>; | 134 | * This means the adapter can be accessed with 8, 16 or |
143 | smsc,irq-active-high; | 135 | * 32 bit reads/writes. |
144 | smsc,irq-push-pull; | 136 | */ |
145 | vdd33a-supply = <&veth>; | 137 | reg-io-width = <7>; |
146 | vddvario-supply = <&veth>; | ||
147 | }; | 138 | }; |
148 | 139 | ||
149 | usb: usb@4f000000 { | 140 | usb: usb@4f000000 { |