diff options
Diffstat (limited to 'arch/arm/boot/dts/r8a7790-lager.dts')
-rw-r--r-- | arch/arm/boot/dts/r8a7790-lager.dts | 62 |
1 files changed, 60 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts b/arch/arm/boot/dts/r8a7790-lager.dts index f5e548735d7a..dd2fe46073f2 100644 --- a/arch/arm/boot/dts/r8a7790-lager.dts +++ b/arch/arm/boot/dts/r8a7790-lager.dts | |||
@@ -12,6 +12,7 @@ | |||
12 | /dts-v1/; | 12 | /dts-v1/; |
13 | #include "r8a7790.dtsi" | 13 | #include "r8a7790.dtsi" |
14 | #include <dt-bindings/gpio/gpio.h> | 14 | #include <dt-bindings/gpio/gpio.h> |
15 | #include <dt-bindings/input/input.h> | ||
15 | 16 | ||
16 | / { | 17 | / { |
17 | model = "Lager"; | 18 | model = "Lager"; |
@@ -41,6 +42,39 @@ | |||
41 | #size-cells = <1>; | 42 | #size-cells = <1>; |
42 | }; | 43 | }; |
43 | 44 | ||
45 | gpio_keys { | ||
46 | compatible = "gpio-keys"; | ||
47 | |||
48 | button@1 { | ||
49 | linux,code = <KEY_1>; | ||
50 | label = "SW2-1"; | ||
51 | gpio-key,wakeup; | ||
52 | debounce-interval = <20>; | ||
53 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; | ||
54 | }; | ||
55 | button@2 { | ||
56 | linux,code = <KEY_2>; | ||
57 | label = "SW2-2"; | ||
58 | gpio-key,wakeup; | ||
59 | debounce-interval = <20>; | ||
60 | gpios = <&gpio1 24 GPIO_ACTIVE_LOW>; | ||
61 | }; | ||
62 | button@3 { | ||
63 | linux,code = <KEY_3>; | ||
64 | label = "SW2-3"; | ||
65 | gpio-key,wakeup; | ||
66 | debounce-interval = <20>; | ||
67 | gpios = <&gpio1 26 GPIO_ACTIVE_LOW>; | ||
68 | }; | ||
69 | button@4 { | ||
70 | linux,code = <KEY_4>; | ||
71 | label = "SW2-4"; | ||
72 | gpio-key,wakeup; | ||
73 | debounce-interval = <20>; | ||
74 | gpios = <&gpio1 28 GPIO_ACTIVE_LOW>; | ||
75 | }; | ||
76 | }; | ||
77 | |||
44 | leds { | 78 | leds { |
45 | compatible = "gpio-leds"; | 79 | compatible = "gpio-leds"; |
46 | led6 { | 80 | led6 { |
@@ -160,10 +194,16 @@ | |||
160 | renesas,function = "mmc1"; | 194 | renesas,function = "mmc1"; |
161 | }; | 195 | }; |
162 | 196 | ||
163 | qspi_pins: spi { | 197 | qspi_pins: spi0 { |
164 | renesas,groups = "qspi_ctrl", "qspi_data4"; | 198 | renesas,groups = "qspi_ctrl", "qspi_data4"; |
165 | renesas,function = "qspi"; | 199 | renesas,function = "qspi"; |
166 | }; | 200 | }; |
201 | |||
202 | msiof1_pins: spi2 { | ||
203 | renesas,groups = "msiof1_clk", "msiof1_sync", "msiof1_rx", | ||
204 | "msiof1_tx"; | ||
205 | renesas,function = "msiof1"; | ||
206 | }; | ||
167 | }; | 207 | }; |
168 | 208 | ||
169 | ðer { | 209 | ðer { |
@@ -178,6 +218,7 @@ | |||
178 | reg = <1>; | 218 | reg = <1>; |
179 | interrupt-parent = <&irqc0>; | 219 | interrupt-parent = <&irqc0>; |
180 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; | 220 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
221 | micrel,led-mode = <1>; | ||
181 | }; | 222 | }; |
182 | }; | 223 | }; |
183 | 224 | ||
@@ -195,7 +236,7 @@ | |||
195 | status = "okay"; | 236 | status = "okay"; |
196 | }; | 237 | }; |
197 | 238 | ||
198 | &spi { | 239 | &qspi { |
199 | pinctrl-0 = <&qspi_pins>; | 240 | pinctrl-0 = <&qspi_pins>; |
200 | pinctrl-names = "default"; | 241 | pinctrl-names = "default"; |
201 | 242 | ||
@@ -207,6 +248,8 @@ | |||
207 | compatible = "spansion,s25fl512s"; | 248 | compatible = "spansion,s25fl512s"; |
208 | reg = <0>; | 249 | reg = <0>; |
209 | spi-max-frequency = <30000000>; | 250 | spi-max-frequency = <30000000>; |
251 | spi-tx-bus-width = <4>; | ||
252 | spi-rx-bus-width = <4>; | ||
210 | m25p,fast-read; | 253 | m25p,fast-read; |
211 | 254 | ||
212 | partition@0 { | 255 | partition@0 { |
@@ -240,6 +283,21 @@ | |||
240 | status = "okay"; | 283 | status = "okay"; |
241 | }; | 284 | }; |
242 | 285 | ||
286 | &msiof1 { | ||
287 | pinctrl-0 = <&msiof1_pins>; | ||
288 | pinctrl-names = "default"; | ||
289 | |||
290 | status = "okay"; | ||
291 | |||
292 | pmic: pmic@0 { | ||
293 | compatible = "renesas,r2a11302ft"; | ||
294 | reg = <0>; | ||
295 | spi-max-frequency = <6000000>; | ||
296 | spi-cpol; | ||
297 | spi-cpha; | ||
298 | }; | ||
299 | }; | ||
300 | |||
243 | &sdhi0 { | 301 | &sdhi0 { |
244 | pinctrl-0 = <&sdhi0_pins>; | 302 | pinctrl-0 = <&sdhi0_pins>; |
245 | pinctrl-names = "default"; | 303 | pinctrl-names = "default"; |