diff options
author | Olof Johansson <olof@lixom.net> | 2014-02-21 17:49:12 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2014-02-21 17:49:12 -0500 |
commit | 9df6990671ebb9347e8366da46a4771bb7ae28b3 (patch) | |
tree | c357e692f1370ef8470b5d6eb684a3755b79ab05 | |
parent | ab658f898eee856303e097ff302f6d05cfd5beb5 (diff) | |
parent | 5c0169d1c503aab2d62ee6f6e342a78e2ea9e3ed (diff) |
Merge tag 'mvebu-dt-3.15' of git://git.infradead.org/linux-mvebu into next/dt
Merge "mvebu DT changes for v3.15" from Jason Cooper:
- kirkwood
- new board QNAP 419
- new board Excito Bubba B3
- mvebu
- use gpio and input defines for Armada 370/XP boards
* tag 'mvebu-dt-3.15' of git://git.infradead.org/linux-mvebu:
ARM: mvebu: use input DT defines in Armada 370/XP boards
ARM: mvebu: use GPIO DT defines in Armada 370/XP boards
ARM: Kirkwood: Add DT description of QNAP 419
ARM: Kirkwood: Add support for Excito Bubba B3
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/boot/dts/Makefile | 7 | ||||
-rw-r--r-- | arch/arm/boot/dts/armada-370-mirabox.dts | 7 | ||||
-rw-r--r-- | arch/arm/boot/dts/armada-370-rd.dts | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/armada-xp-axpwifiap.dts | 6 | ||||
-rw-r--r-- | arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | 12 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-b3.dts | 204 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-ts419-6281.dts | 20 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-ts419-6282.dts | 32 | ||||
-rw-r--r-- | arch/arm/boot/dts/kirkwood-ts419.dtsi | 75 |
9 files changed, 355 insertions, 14 deletions
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index 0b805c873eec..222fe15a8d53 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile | |||
@@ -83,7 +83,8 @@ dtb-$(CONFIG_ARCH_HIGHBANK) += highbank.dtb \ | |||
83 | dtb-$(CONFIG_ARCH_INTEGRATOR) += integratorap.dtb \ | 83 | dtb-$(CONFIG_ARCH_INTEGRATOR) += integratorap.dtb \ |
84 | integratorcp.dtb | 84 | integratorcp.dtb |
85 | dtb-$(CONFIG_ARCH_LPC32XX) += ea3250.dtb phy3250.dtb | 85 | dtb-$(CONFIG_ARCH_LPC32XX) += ea3250.dtb phy3250.dtb |
86 | dtb-$(CONFIG_ARCH_KIRKWOOD) += kirkwood-cloudbox.dtb \ | 86 | dtb-$(CONFIG_ARCH_KIRKWOOD) += kirkwood-b3.dtb \ |
87 | kirkwood-cloudbox.dtb \ | ||
87 | kirkwood-db-88f6281.dtb \ | 88 | kirkwood-db-88f6281.dtb \ |
88 | kirkwood-db-88f6282.dtb \ | 89 | kirkwood-db-88f6282.dtb \ |
89 | kirkwood-dns320.dtb \ | 90 | kirkwood-dns320.dtb \ |
@@ -116,7 +117,9 @@ dtb-$(CONFIG_ARCH_KIRKWOOD) += kirkwood-cloudbox.dtb \ | |||
116 | kirkwood-sheevaplug-esata.dtb \ | 117 | kirkwood-sheevaplug-esata.dtb \ |
117 | kirkwood-topkick.dtb \ | 118 | kirkwood-topkick.dtb \ |
118 | kirkwood-ts219-6281.dtb \ | 119 | kirkwood-ts219-6281.dtb \ |
119 | kirkwood-ts219-6282.dtb | 120 | kirkwood-ts219-6282.dtb \ |
121 | kirkwood-ts419-6281.dtb \ | ||
122 | kirkwood-ts419-6282.dtb | ||
120 | dtb-$(CONFIG_ARCH_MARCO) += marco-evb.dtb | 123 | dtb-$(CONFIG_ARCH_MARCO) += marco-evb.dtb |
121 | dtb-$(CONFIG_ARCH_MOXART) += moxart-uc7112lx.dtb | 124 | dtb-$(CONFIG_ARCH_MOXART) += moxart-uc7112lx.dtb |
122 | dtb-$(CONFIG_ARCH_MSM) += qcom-msm8660-surf.dtb \ | 125 | dtb-$(CONFIG_ARCH_MSM) += qcom-msm8660-surf.dtb \ |
diff --git a/arch/arm/boot/dts/armada-370-mirabox.dts b/arch/arm/boot/dts/armada-370-mirabox.dts index 944e8785b308..2354fe023ee0 100644 --- a/arch/arm/boot/dts/armada-370-mirabox.dts +++ b/arch/arm/boot/dts/armada-370-mirabox.dts | |||
@@ -9,6 +9,7 @@ | |||
9 | */ | 9 | */ |
10 | 10 | ||
11 | /dts-v1/; | 11 | /dts-v1/; |
12 | #include <dt-bindings/gpio/gpio.h> | ||
12 | #include "armada-370.dtsi" | 13 | #include "armada-370.dtsi" |
13 | 14 | ||
14 | / { | 15 | / { |
@@ -73,19 +74,19 @@ | |||
73 | 74 | ||
74 | green_pwr_led { | 75 | green_pwr_led { |
75 | label = "mirabox:green:pwr"; | 76 | label = "mirabox:green:pwr"; |
76 | gpios = <&gpio1 31 1>; | 77 | gpios = <&gpio1 31 GPIO_ACTIVE_LOW>; |
77 | default-state = "keep"; | 78 | default-state = "keep"; |
78 | }; | 79 | }; |
79 | 80 | ||
80 | blue_stat_led { | 81 | blue_stat_led { |
81 | label = "mirabox:blue:stat"; | 82 | label = "mirabox:blue:stat"; |
82 | gpios = <&gpio2 0 1>; | 83 | gpios = <&gpio2 0 GPIO_ACTIVE_LOW>; |
83 | default-state = "off"; | 84 | default-state = "off"; |
84 | }; | 85 | }; |
85 | 86 | ||
86 | green_stat_led { | 87 | green_stat_led { |
87 | label = "mirabox:green:stat"; | 88 | label = "mirabox:green:stat"; |
88 | gpios = <&gpio2 1 1>; | 89 | gpios = <&gpio2 1 GPIO_ACTIVE_LOW>; |
89 | default-state = "off"; | 90 | default-state = "off"; |
90 | }; | 91 | }; |
91 | }; | 92 | }; |
diff --git a/arch/arm/boot/dts/armada-370-rd.dts b/arch/arm/boot/dts/armada-370-rd.dts index abbb807459d2..3e2c857d6000 100644 --- a/arch/arm/boot/dts/armada-370-rd.dts +++ b/arch/arm/boot/dts/armada-370-rd.dts | |||
@@ -12,6 +12,8 @@ | |||
12 | */ | 12 | */ |
13 | 13 | ||
14 | /dts-v1/; | 14 | /dts-v1/; |
15 | #include <dt-bindings/input/input.h> | ||
16 | #include <dt-bindings/gpio/gpio.h> | ||
15 | #include "armada-370.dtsi" | 17 | #include "armada-370.dtsi" |
16 | 18 | ||
17 | / { | 19 | / { |
@@ -100,8 +102,8 @@ | |||
100 | #size-cells = <0>; | 102 | #size-cells = <0>; |
101 | button@1 { | 103 | button@1 { |
102 | label = "Software Button"; | 104 | label = "Software Button"; |
103 | linux,code = <116>; | 105 | linux,code = <KEY_POWER>; |
104 | gpios = <&gpio0 6 1>; | 106 | gpios = <&gpio0 6 GPIO_ACTIVE_LOW>; |
105 | }; | 107 | }; |
106 | }; | 108 | }; |
107 | 109 | ||
diff --git a/arch/arm/boot/dts/armada-xp-axpwifiap.dts b/arch/arm/boot/dts/armada-xp-axpwifiap.dts index c5fe57269f5a..d83d7d69ac01 100644 --- a/arch/arm/boot/dts/armada-xp-axpwifiap.dts +++ b/arch/arm/boot/dts/armada-xp-axpwifiap.dts | |||
@@ -16,6 +16,8 @@ | |||
16 | */ | 16 | */ |
17 | 17 | ||
18 | /dts-v1/; | 18 | /dts-v1/; |
19 | #include <dt-bindings/gpio/gpio.h> | ||
20 | #include <dt-bindings/input/input.h> | ||
19 | #include "armada-xp-mv78230.dtsi" | 21 | #include "armada-xp-mv78230.dtsi" |
20 | 22 | ||
21 | / { | 23 | / { |
@@ -157,8 +159,8 @@ | |||
157 | 159 | ||
158 | button@1 { | 160 | button@1 { |
159 | label = "Factory Reset Button"; | 161 | label = "Factory Reset Button"; |
160 | linux,code = <141>; /* KEY_SETUP */ | 162 | linux,code = <KEY_SETUP>; |
161 | gpios = <&gpio1 1 1>; | 163 | gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; |
162 | }; | 164 | }; |
163 | }; | 165 | }; |
164 | }; | 166 | }; |
diff --git a/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts b/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts index 99bcf76e6953..985948ce67b3 100644 --- a/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts +++ b/arch/arm/boot/dts/armada-xp-openblocks-ax3-4.dts | |||
@@ -11,6 +11,8 @@ | |||
11 | */ | 11 | */ |
12 | 12 | ||
13 | /dts-v1/; | 13 | /dts-v1/; |
14 | #include <dt-bindings/gpio/gpio.h> | ||
15 | #include <dt-bindings/input/input.h> | ||
14 | #include "armada-xp-mv78260.dtsi" | 16 | #include "armada-xp-mv78260.dtsi" |
15 | 17 | ||
16 | / { | 18 | / { |
@@ -90,19 +92,19 @@ | |||
90 | 92 | ||
91 | red_led { | 93 | red_led { |
92 | label = "red_led"; | 94 | label = "red_led"; |
93 | gpios = <&gpio1 17 1>; | 95 | gpios = <&gpio1 17 GPIO_ACTIVE_LOW>; |
94 | default-state = "off"; | 96 | default-state = "off"; |
95 | }; | 97 | }; |
96 | 98 | ||
97 | yellow_led { | 99 | yellow_led { |
98 | label = "yellow_led"; | 100 | label = "yellow_led"; |
99 | gpios = <&gpio1 19 1>; | 101 | gpios = <&gpio1 19 GPIO_ACTIVE_LOW>; |
100 | default-state = "off"; | 102 | default-state = "off"; |
101 | }; | 103 | }; |
102 | 104 | ||
103 | green_led { | 105 | green_led { |
104 | label = "green_led"; | 106 | label = "green_led"; |
105 | gpios = <&gpio1 21 1>; | 107 | gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; |
106 | default-state = "keep"; | 108 | default-state = "keep"; |
107 | }; | 109 | }; |
108 | }; | 110 | }; |
@@ -114,8 +116,8 @@ | |||
114 | 116 | ||
115 | button@1 { | 117 | button@1 { |
116 | label = "Init Button"; | 118 | label = "Init Button"; |
117 | linux,code = <116>; | 119 | linux,code = <KEY_POWER>; |
118 | gpios = <&gpio1 28 0>; | 120 | gpios = <&gpio1 28 GPIO_ACTIVE_HIGH>; |
119 | }; | 121 | }; |
120 | }; | 122 | }; |
121 | 123 | ||
diff --git a/arch/arm/boot/dts/kirkwood-b3.dts b/arch/arm/boot/dts/kirkwood-b3.dts new file mode 100644 index 000000000000..40791053106b --- /dev/null +++ b/arch/arm/boot/dts/kirkwood-b3.dts | |||
@@ -0,0 +1,204 @@ | |||
1 | /* | ||
2 | * Device Tree file for Excito Bubba B3 | ||
3 | * | ||
4 | * Copyright (C) 2013, Andrew Lunn <andrew@lunn.ch> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of the GNU General Public License | ||
8 | * as published by the Free Software Foundation; either version | ||
9 | * 2 of the License, or (at your option) any later version. | ||
10 | * | ||
11 | * Note: This requires a new'ish version of u-boot, which disables the | ||
12 | * L2 cache. If your B3 silently fails to boot, u-boot is probably too | ||
13 | * old. Either upgrade, or consider the following email: | ||
14 | * | ||
15 | * http://lists.debian.org/debian-arm/2012/08/msg00128.html | ||
16 | */ | ||
17 | |||
18 | /dts-v1/; | ||
19 | |||
20 | #include "kirkwood.dtsi" | ||
21 | #include "kirkwood-6281.dtsi" | ||
22 | |||
23 | / { | ||
24 | model = "Excito B3"; | ||
25 | compatible = "excito,b3", "marvell,kirkwood-88f6281", "marvell,kirkwood"; | ||
26 | memory { /* 512 MB */ | ||
27 | device_type = "memory"; | ||
28 | reg = <0x00000000 0x20000000>; | ||
29 | }; | ||
30 | |||
31 | chosen { | ||
32 | bootargs = "console=ttyS0,115200n8 earlyprintk"; | ||
33 | }; | ||
34 | |||
35 | mbus { | ||
36 | pcie-controller { | ||
37 | status = "okay"; | ||
38 | |||
39 | /* Wifi model has Atheros chipset on pcie port */ | ||
40 | pcie@1,0 { | ||
41 | status = "okay"; | ||
42 | }; | ||
43 | }; | ||
44 | }; | ||
45 | |||
46 | ocp@f1000000 { | ||
47 | pinctrl: pinctrl@10000 { | ||
48 | pmx_button_power: pmx-button-power { | ||
49 | marvell,pins = "mpp39"; | ||
50 | marvell,function = "gpio"; | ||
51 | }; | ||
52 | pmx_led_green: pmx-led-green { | ||
53 | marvell,pins = "mpp38"; | ||
54 | marvell,function = "gpio"; | ||
55 | }; | ||
56 | pmx_led_red: pmx-led-red { | ||
57 | marvell,pins = "mpp41"; | ||
58 | marvell,function = "gpio"; | ||
59 | }; | ||
60 | pmx_led_blue: pmx-led-blue { | ||
61 | marvell,pins = "mpp42"; | ||
62 | marvell,function = "gpio"; | ||
63 | }; | ||
64 | pmx_beeper: pmx-beeper { | ||
65 | marvell,pins = "mpp40"; | ||
66 | marvell,function = "gpio"; | ||
67 | }; | ||
68 | }; | ||
69 | |||
70 | spi@10600 { | ||
71 | status = "okay"; | ||
72 | pinctrl-0 = <&pmx_spi>; | ||
73 | pinctrl-names = "default"; | ||
74 | |||
75 | m25p16@0 { | ||
76 | #address-cells = <1>; | ||
77 | #size-cells = <1>; | ||
78 | compatible = "m25p16"; | ||
79 | reg = <0>; | ||
80 | spi-max-frequency = <40000000>; | ||
81 | mode = <0>; | ||
82 | |||
83 | partition@0 { | ||
84 | reg = <0x0 0xc0000>; | ||
85 | label = "u-boot"; | ||
86 | }; | ||
87 | |||
88 | partition@c0000 { | ||
89 | reg = <0xc0000 0x20000>; | ||
90 | label = "u-boot env"; | ||
91 | }; | ||
92 | |||
93 | partition@e0000 { | ||
94 | reg = <0xe0000 0x120000>; | ||
95 | label = "data"; | ||
96 | }; | ||
97 | }; | ||
98 | }; | ||
99 | |||
100 | i2c@11000 { | ||
101 | status = "okay"; | ||
102 | /* | ||
103 | * There is something on the bus at address 0x64. | ||
104 | * Not yet identified what it is, maybe the eeprom | ||
105 | * for the Atheros WiFi chip? | ||
106 | */ | ||
107 | }; | ||
108 | |||
109 | |||
110 | serial@12000 { | ||
111 | /* Internal on test pins, 3.3v TTL | ||
112 | * UART0_RX = Testpoint 65 | ||
113 | * UART0_TX = Testpoint 66 | ||
114 | * See the Excito Wiki for more details. | ||
115 | */ | ||
116 | pinctrl-0 = <&pmx_uart0>; | ||
117 | pinctrl-names = "default"; | ||
118 | status = "okay"; | ||
119 | }; | ||
120 | |||
121 | sata@80000 { | ||
122 | /* One internal, the second as eSATA */ | ||
123 | status = "okay"; | ||
124 | nr-ports = <2>; | ||
125 | }; | ||
126 | }; | ||
127 | |||
128 | gpio-leds { | ||
129 | /* | ||
130 | * There is one LED "port" on the front and the colours | ||
131 | * mix together giving some interesting combinations. | ||
132 | */ | ||
133 | compatible = "gpio-leds"; | ||
134 | pinctrl-0 = < &pmx_led_green &pmx_led_red | ||
135 | &pmx_led_blue >; | ||
136 | pinctrl-names = "default"; | ||
137 | |||
138 | programming_led { | ||
139 | label = "bubba3:green:programming"; | ||
140 | gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>; | ||
141 | default-state = "off"; | ||
142 | }; | ||
143 | |||
144 | error_led { | ||
145 | label = "bubba3:red:error"; | ||
146 | gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; | ||
147 | }; | ||
148 | |||
149 | active_led { | ||
150 | label = "bubba3:blue:active"; | ||
151 | gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>; | ||
152 | }; | ||
153 | }; | ||
154 | |||
155 | gpio-keys { | ||
156 | compatible = "gpio-keys"; | ||
157 | pinctrl-0 = <&pmx_button_power>; | ||
158 | pinctrl-names = "default"; | ||
159 | |||
160 | power-button { | ||
161 | /* On the back */ | ||
162 | label = "Power Button"; | ||
163 | linux,code = <KEY_POWER>; | ||
164 | gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; | ||
165 | }; | ||
166 | }; | ||
167 | |||
168 | beeper: beeper { | ||
169 | /* 4KHz Piezoelectric buzzer */ | ||
170 | compatible = "gpio-beeper"; | ||
171 | pinctrl-0 = <&pmx_beeper>; | ||
172 | pinctrl-names = "default"; | ||
173 | gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; | ||
174 | }; | ||
175 | }; | ||
176 | |||
177 | &mdio { | ||
178 | status = "okay"; | ||
179 | |||
180 | ethphy0: ethernet-phy@8 { | ||
181 | device_type = "ethernet-phy"; | ||
182 | reg = <8>; | ||
183 | }; | ||
184 | |||
185 | ethphy1: ethernet-phy@24 { | ||
186 | device_type = "ethernet-phy"; | ||
187 | reg = <24>; | ||
188 | }; | ||
189 | }; | ||
190 | |||
191 | ð0 { | ||
192 | status = "okay"; | ||
193 | ethernet0-port@0 { | ||
194 | phy-handle = <ðphy0>; | ||
195 | }; | ||
196 | }; | ||
197 | |||
198 | ð1 { | ||
199 | status = "okay"; | ||
200 | ethernet1-port@0 { | ||
201 | phy-handle = <ðphy1>; | ||
202 | }; | ||
203 | }; | ||
204 | |||
diff --git a/arch/arm/boot/dts/kirkwood-ts419-6281.dts b/arch/arm/boot/dts/kirkwood-ts419-6281.dts new file mode 100644 index 000000000000..aa22aa862857 --- /dev/null +++ b/arch/arm/boot/dts/kirkwood-ts419-6281.dts | |||
@@ -0,0 +1,20 @@ | |||
1 | /* | ||
2 | * Device Tree file for QNAP TS41X with 6281 SoC | ||
3 | * | ||
4 | * Copyright (C) 2013, Andrew Lunn <andrew@lunn.ch> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of the GNU General Public License | ||
8 | * as published by the Free Software Foundation; either version | ||
9 | * 2 of the License, or (at your option) any later version. | ||
10 | */ | ||
11 | |||
12 | /dts-v1/; | ||
13 | |||
14 | #include "kirkwood.dtsi" | ||
15 | #include "kirkwood-6281.dtsi" | ||
16 | #include "kirkwood-ts219.dtsi" | ||
17 | #include "kirkwood-ts419.dtsi" | ||
18 | |||
19 | ðphy0 { reg = <8>; }; | ||
20 | ðphy1 { reg = <0>; }; | ||
diff --git a/arch/arm/boot/dts/kirkwood-ts419-6282.dts b/arch/arm/boot/dts/kirkwood-ts419-6282.dts new file mode 100644 index 000000000000..d7512d4cdced --- /dev/null +++ b/arch/arm/boot/dts/kirkwood-ts419-6282.dts | |||
@@ -0,0 +1,32 @@ | |||
1 | /* | ||
2 | * Device Tree file for QNAP TS41X with 6282 SoC | ||
3 | * | ||
4 | * Copyright (C) 2013, Andrew Lunn <andrew@lunn.ch> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of the GNU General Public License | ||
8 | * as published by the Free Software Foundation; either version | ||
9 | * 2 of the License, or (at your option) any later version. | ||
10 | */ | ||
11 | |||
12 | /dts-v1/; | ||
13 | |||
14 | #include "kirkwood.dtsi" | ||
15 | #include "kirkwood-6282.dtsi" | ||
16 | #include "kirkwood-ts219.dtsi" | ||
17 | #include "kirkwood-ts419.dtsi" | ||
18 | |||
19 | / { | ||
20 | mbus { | ||
21 | pcie-controller { | ||
22 | status = "okay"; | ||
23 | |||
24 | pcie@2,0 { | ||
25 | status = "okay"; | ||
26 | }; | ||
27 | }; | ||
28 | }; | ||
29 | }; | ||
30 | |||
31 | ðphy0 { reg = <0>; }; | ||
32 | ðphy1 { reg = <1>; }; | ||
diff --git a/arch/arm/boot/dts/kirkwood-ts419.dtsi b/arch/arm/boot/dts/kirkwood-ts419.dtsi new file mode 100644 index 000000000000..1a9c624c7a92 --- /dev/null +++ b/arch/arm/boot/dts/kirkwood-ts419.dtsi | |||
@@ -0,0 +1,75 @@ | |||
1 | /* | ||
2 | * Device Tree include file for QNAP TS41X | ||
3 | * | ||
4 | * Copyright (C) 2013, Andrew Lunn <andrew@lunn.ch> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of the GNU General Public License | ||
8 | * as published by the Free Software Foundation; either version | ||
9 | * 2 of the License, or (at your option) any later version. | ||
10 | */ | ||
11 | |||
12 | / { | ||
13 | model = "QNAP TS419 family"; | ||
14 | compatible = "qnap,ts419", "marvell,kirkwood"; | ||
15 | |||
16 | ocp@f1000000 { | ||
17 | pinctrl: pinctrl@10000 { | ||
18 | pinctrl-names = "default"; | ||
19 | |||
20 | pmx_USB_copy_button: pmx-USB-copy-button { | ||
21 | marvell,pins = "mpp43"; | ||
22 | marvell,function = "gpio"; | ||
23 | }; | ||
24 | pmx_reset_button: pmx-reset-button { | ||
25 | marvell,pins = "mpp37"; | ||
26 | marvell,function = "gpio"; | ||
27 | }; | ||
28 | /* | ||
29 | * JP1 indicates if an LCD module is installed | ||
30 | * on the serial port (0), or if the port is used | ||
31 | * as a console (1). | ||
32 | */ | ||
33 | pmx_jumper_jp1: pmx-jumper_jp1 { | ||
34 | marvell,pins = "mpp45"; | ||
35 | marvell,function = "gpio"; | ||
36 | }; | ||
37 | |||
38 | }; | ||
39 | }; | ||
40 | |||
41 | gpio_keys { | ||
42 | compatible = "gpio-keys"; | ||
43 | #address-cells = <1>; | ||
44 | #size-cells = <0>; | ||
45 | pinctrl-0 = <&pmx_reset_button &pmx_USB_copy_button>; | ||
46 | pinctrl-names = "default"; | ||
47 | |||
48 | button@1 { | ||
49 | label = "USB Copy"; | ||
50 | linux,code = <KEY_COPY>; | ||
51 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; | ||
52 | }; | ||
53 | button@2 { | ||
54 | label = "Reset"; | ||
55 | linux,code = <KEY_RESTART>; | ||
56 | gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; | ||
57 | }; | ||
58 | }; | ||
59 | }; | ||
60 | |||
61 | &mdio { | ||
62 | status = "okay"; | ||
63 | |||
64 | ethphy1: ethernet-phy@1 { | ||
65 | device_type = "ethernet-phy"; | ||
66 | /* overwrite reg property in board file */ | ||
67 | }; | ||
68 | }; | ||
69 | |||
70 | ð1 { | ||
71 | status = "okay"; | ||
72 | ethernet1-port@0 { | ||
73 | phy-handle = <ðphy1>; | ||
74 | }; | ||
75 | }; | ||