Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the Lager board |
| 3 | * |
Sergei Shtylyov | da4ea95 | 2014-02-20 02:22:31 +0300 | [diff] [blame] | 4 | * Copyright (C) 2013-2014 Renesas Solutions Corp. |
| 5 | * Copyright (C) 2014 Cogent Embedded, Inc. |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 6 | * |
| 7 | * This file is licensed under the terms of the GNU General Public License |
| 8 | * version 2. This program is licensed "as is" without any warranty of any |
| 9 | * kind, whether express or implied. |
| 10 | */ |
| 11 | |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 12 | /* |
| 13 | * SSI-AK4643 |
| 14 | * |
| 15 | * SW1: 1: AK4643 |
| 16 | * 2: CN22 |
| 17 | * 3: ADV7511 |
| 18 | * |
| 19 | * This command is required when Playback/Capture |
| 20 | * |
| 21 | * amixer set "LINEOUT Mixer DACL" on |
Kuninori Morimoto | e110c54 | 2014-11-03 17:48:38 -0800 | [diff] [blame] | 22 | * amixer set "DVC Out" 100% |
| 23 | * amixer set "DVC In" 100% |
| 24 | * |
| 25 | * You can use Mute |
| 26 | * |
| 27 | * amixer set "DVC Out Mute" on |
| 28 | * amixer set "DVC In Mute" on |
Kuninori Morimoto | bd2e4a6 | 2014-11-11 04:36:47 +0000 | [diff] [blame] | 29 | * |
| 30 | * You can use Volume Ramp |
| 31 | * |
| 32 | * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps" |
| 33 | * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps" |
| 34 | * amixer set "DVC Out Ramp" on |
| 35 | * aplay xxx.wav & |
| 36 | * amixer set "DVC Out" 80% // Volume Down |
| 37 | * amixer set "DVC Out" 100% // Volume Up |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 38 | */ |
| 39 | |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 40 | /dts-v1/; |
Laurent Pinchart | 31c46cb | 2013-11-09 13:23:53 +0100 | [diff] [blame] | 41 | #include "r8a7790.dtsi" |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 42 | #include <dt-bindings/gpio/gpio.h> |
Magnus Damm | f7dcd38 | 2014-03-18 21:57:48 +0900 | [diff] [blame] | 43 | #include <dt-bindings/input/input.h> |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 44 | |
| 45 | / { |
| 46 | model = "Lager"; |
| 47 | compatible = "renesas,lager", "renesas,r8a7790"; |
| 48 | |
Laurent Pinchart | 4e9c487 | 2014-04-30 02:31:45 +0200 | [diff] [blame] | 49 | aliases { |
Wolfram Sang | 7c05589 | 2014-09-16 18:10:37 +0200 | [diff] [blame] | 50 | serial6 = &scifa0; |
| 51 | serial7 = &scifa1; |
Laurent Pinchart | 4e9c487 | 2014-04-30 02:31:45 +0200 | [diff] [blame] | 52 | }; |
| 53 | |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 54 | chosen { |
Simon Horman | dcbbbaf | 2013-08-06 16:50:11 +0900 | [diff] [blame] | 55 | bootargs = "console=ttySC6,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp"; |
Geert Uytterhoeven | cf85581 | 2014-10-03 17:11:40 +0200 | [diff] [blame] | 56 | stdout-path = &scifa0; |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 57 | }; |
| 58 | |
| 59 | memory@40000000 { |
| 60 | device_type = "memory"; |
Magnus Damm | 7b16c61 | 2014-06-06 15:40:26 +0900 | [diff] [blame] | 61 | reg = <0 0x40000000 0 0x40000000>; |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 62 | }; |
| 63 | |
Simon Horman | 126f998 | 2014-09-03 09:49:01 +0900 | [diff] [blame] | 64 | memory@140000000 { |
Magnus Damm | 62bc32a | 2013-10-31 12:21:41 +0900 | [diff] [blame] | 65 | device_type = "memory"; |
Magnus Damm | 7b16c61 | 2014-06-06 15:40:26 +0900 | [diff] [blame] | 66 | reg = <1 0x40000000 0 0xc0000000>; |
Magnus Damm | 62bc32a | 2013-10-31 12:21:41 +0900 | [diff] [blame] | 67 | }; |
| 68 | |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 69 | lbsc { |
| 70 | #address-cells = <1>; |
| 71 | #size-cells = <1>; |
| 72 | }; |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 73 | |
Simon Horman | 54caf68 | 2014-11-12 17:59:35 +0900 | [diff] [blame] | 74 | keyboard { |
Magnus Damm | f7dcd38 | 2014-03-18 21:57:48 +0900 | [diff] [blame] | 75 | compatible = "gpio-keys"; |
| 76 | |
| 77 | button@1 { |
| 78 | linux,code = <KEY_1>; |
| 79 | label = "SW2-1"; |
| 80 | gpio-key,wakeup; |
| 81 | debounce-interval = <20>; |
| 82 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; |
| 83 | }; |
| 84 | button@2 { |
| 85 | linux,code = <KEY_2>; |
| 86 | label = "SW2-2"; |
| 87 | gpio-key,wakeup; |
| 88 | debounce-interval = <20>; |
| 89 | gpios = <&gpio1 24 GPIO_ACTIVE_LOW>; |
| 90 | }; |
| 91 | button@3 { |
| 92 | linux,code = <KEY_3>; |
| 93 | label = "SW2-3"; |
| 94 | gpio-key,wakeup; |
| 95 | debounce-interval = <20>; |
| 96 | gpios = <&gpio1 26 GPIO_ACTIVE_LOW>; |
| 97 | }; |
| 98 | button@4 { |
| 99 | linux,code = <KEY_4>; |
| 100 | label = "SW2-4"; |
| 101 | gpio-key,wakeup; |
| 102 | debounce-interval = <20>; |
| 103 | gpios = <&gpio1 28 GPIO_ACTIVE_LOW>; |
| 104 | }; |
| 105 | }; |
| 106 | |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 107 | leds { |
| 108 | compatible = "gpio-leds"; |
| 109 | led6 { |
| 110 | gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>; |
| 111 | }; |
| 112 | led7 { |
| 113 | gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>; |
| 114 | }; |
| 115 | led8 { |
| 116 | gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>; |
| 117 | }; |
| 118 | }; |
| 119 | |
| 120 | fixedregulator3v3: fixedregulator@0 { |
| 121 | compatible = "regulator-fixed"; |
| 122 | regulator-name = "fixed-3.3V"; |
| 123 | regulator-min-microvolt = <3300000>; |
| 124 | regulator-max-microvolt = <3300000>; |
| 125 | regulator-boot-on; |
| 126 | regulator-always-on; |
| 127 | }; |
Kuninori Morimoto | c611994 | 2014-02-12 21:43:19 -0800 | [diff] [blame] | 128 | |
| 129 | vcc_sdhi0: regulator@1 { |
| 130 | compatible = "regulator-fixed"; |
| 131 | |
| 132 | regulator-name = "SDHI0 Vcc"; |
| 133 | regulator-min-microvolt = <3300000>; |
| 134 | regulator-max-microvolt = <3300000>; |
| 135 | |
| 136 | gpio = <&gpio5 24 GPIO_ACTIVE_HIGH>; |
| 137 | enable-active-high; |
| 138 | }; |
| 139 | |
| 140 | vccq_sdhi0: regulator@2 { |
| 141 | compatible = "regulator-gpio"; |
| 142 | |
| 143 | regulator-name = "SDHI0 VccQ"; |
| 144 | regulator-min-microvolt = <1800000>; |
| 145 | regulator-max-microvolt = <3300000>; |
| 146 | |
| 147 | gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>; |
| 148 | gpios-states = <1>; |
| 149 | states = <3300000 1 |
| 150 | 1800000 0>; |
| 151 | }; |
| 152 | |
| 153 | vcc_sdhi2: regulator@3 { |
| 154 | compatible = "regulator-fixed"; |
| 155 | |
| 156 | regulator-name = "SDHI2 Vcc"; |
| 157 | regulator-min-microvolt = <3300000>; |
| 158 | regulator-max-microvolt = <3300000>; |
| 159 | |
| 160 | gpio = <&gpio5 25 GPIO_ACTIVE_HIGH>; |
| 161 | enable-active-high; |
| 162 | }; |
| 163 | |
| 164 | vccq_sdhi2: regulator@4 { |
| 165 | compatible = "regulator-gpio"; |
| 166 | |
| 167 | regulator-name = "SDHI2 VccQ"; |
| 168 | regulator-min-microvolt = <1800000>; |
| 169 | regulator-max-microvolt = <3300000>; |
| 170 | |
| 171 | gpios = <&gpio5 30 GPIO_ACTIVE_HIGH>; |
| 172 | gpios-states = <1>; |
| 173 | states = <3300000 1 |
| 174 | 1800000 0>; |
| 175 | }; |
Laurent Pinchart | 3edd18f | 2014-01-21 16:02:54 +0100 | [diff] [blame] | 176 | |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 177 | sound { |
| 178 | compatible = "simple-audio-card"; |
| 179 | |
| 180 | simple-audio-card,format = "left_j"; |
| 181 | simple-audio-card,bitclock-master = <&sndcodec>; |
| 182 | simple-audio-card,frame-master = <&sndcodec>; |
| 183 | |
| 184 | sndcpu: simple-audio-card,cpu { |
| 185 | sound-dai = <&rcar_sound>; |
| 186 | }; |
| 187 | |
| 188 | sndcodec: simple-audio-card,codec { |
| 189 | sound-dai = <&ak4643>; |
| 190 | system-clock-frequency = <11289600>; |
| 191 | }; |
| 192 | }; |
| 193 | |
Laurent Pinchart | 3edd18f | 2014-01-21 16:02:54 +0100 | [diff] [blame] | 194 | vga-encoder { |
| 195 | compatible = "adi,adv7123"; |
| 196 | |
| 197 | ports { |
| 198 | #address-cells = <1>; |
| 199 | #size-cells = <0>; |
| 200 | |
| 201 | port@0 { |
| 202 | reg = <0>; |
| 203 | adv7123_in: endpoint { |
| 204 | remote-endpoint = <&du_out_rgb>; |
| 205 | }; |
| 206 | }; |
| 207 | port@1 { |
| 208 | reg = <1>; |
| 209 | adv7123_out: endpoint { |
| 210 | remote-endpoint = <&vga_in>; |
| 211 | }; |
| 212 | }; |
| 213 | }; |
| 214 | }; |
| 215 | |
| 216 | vga { |
| 217 | compatible = "vga-connector"; |
| 218 | |
| 219 | port { |
| 220 | vga_in: endpoint { |
| 221 | remote-endpoint = <&adv7123_out>; |
| 222 | }; |
| 223 | }; |
| 224 | }; |
| 225 | }; |
| 226 | |
| 227 | &du { |
| 228 | pinctrl-0 = <&du_pins>; |
| 229 | pinctrl-names = "default"; |
| 230 | status = "okay"; |
| 231 | |
| 232 | ports { |
| 233 | port@0 { |
| 234 | endpoint { |
| 235 | remote-endpoint = <&adv7123_in>; |
| 236 | }; |
| 237 | }; |
| 238 | port@2 { |
| 239 | lvds_connector: endpoint { |
| 240 | }; |
| 241 | }; |
| 242 | }; |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 243 | }; |
| 244 | |
Laurent Pinchart | 62e4305 | 2013-12-11 15:13:49 +0100 | [diff] [blame] | 245 | &extal_clk { |
| 246 | clock-frequency = <20000000>; |
| 247 | }; |
| 248 | |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 249 | &pfc { |
Laurent Pinchart | 3024f50 | 2014-02-16 22:31:59 +0100 | [diff] [blame] | 250 | du_pins: du { |
| 251 | renesas,groups = "du_rgb666", "du_sync_1", "du_clk_out_0"; |
| 252 | renesas,function = "du"; |
| 253 | }; |
| 254 | |
Wolfram Sang | 7c05589 | 2014-09-16 18:10:37 +0200 | [diff] [blame] | 255 | scifa0_pins: serial0 { |
| 256 | renesas,groups = "scifa0_data"; |
| 257 | renesas,function = "scifa0"; |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 258 | }; |
| 259 | |
Sergei Shtylyov | da4ea95 | 2014-02-20 02:22:31 +0300 | [diff] [blame] | 260 | ether_pins: ether { |
| 261 | renesas,groups = "eth_link", "eth_mdio", "eth_rmii"; |
| 262 | renesas,function = "eth"; |
| 263 | }; |
| 264 | |
| 265 | phy1_pins: phy1 { |
| 266 | renesas,groups = "intc_irq0"; |
| 267 | renesas,function = "intc"; |
| 268 | }; |
| 269 | |
Wolfram Sang | 7c05589 | 2014-09-16 18:10:37 +0200 | [diff] [blame] | 270 | scifa1_pins: serial1 { |
| 271 | renesas,groups = "scifa1_data"; |
| 272 | renesas,function = "scifa1"; |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 273 | }; |
| 274 | |
Kuninori Morimoto | c611994 | 2014-02-12 21:43:19 -0800 | [diff] [blame] | 275 | sdhi0_pins: sd0 { |
Rob Taylor | b08eed0 | 2014-04-07 20:16:52 +0100 | [diff] [blame] | 276 | renesas,groups = "sdhi0_data4", "sdhi0_ctrl"; |
Kuninori Morimoto | c611994 | 2014-02-12 21:43:19 -0800 | [diff] [blame] | 277 | renesas,function = "sdhi0"; |
| 278 | }; |
| 279 | |
| 280 | sdhi2_pins: sd2 { |
Rob Taylor | b08eed0 | 2014-04-07 20:16:52 +0100 | [diff] [blame] | 281 | renesas,groups = "sdhi2_data4", "sdhi2_ctrl"; |
Kuninori Morimoto | c611994 | 2014-02-12 21:43:19 -0800 | [diff] [blame] | 282 | renesas,function = "sdhi2"; |
| 283 | }; |
| 284 | |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 285 | mmc1_pins: mmc1 { |
| 286 | renesas,groups = "mmc1_data8", "mmc1_ctrl"; |
| 287 | renesas,function = "mmc1"; |
| 288 | }; |
Geert Uytterhoeven | 9fe7c4f | 2014-02-10 11:47:30 +0100 | [diff] [blame] | 289 | |
Geert Uytterhoeven | fad6d45 | 2014-02-25 11:30:13 +0100 | [diff] [blame] | 290 | qspi_pins: spi0 { |
Geert Uytterhoeven | 9fe7c4f | 2014-02-10 11:47:30 +0100 | [diff] [blame] | 291 | renesas,groups = "qspi_ctrl", "qspi_data4"; |
| 292 | renesas,function = "qspi"; |
| 293 | }; |
Geert Uytterhoeven | b0403b9 | 2014-02-25 11:30:17 +0100 | [diff] [blame] | 294 | |
| 295 | msiof1_pins: spi2 { |
| 296 | renesas,groups = "msiof1_clk", "msiof1_sync", "msiof1_rx", |
| 297 | "msiof1_tx"; |
| 298 | renesas,function = "msiof1"; |
| 299 | }; |
Benoit Cousson | 05f72e0 | 2014-06-03 21:02:12 +0900 | [diff] [blame] | 300 | |
Wolfram Sang | cb9a2b1 | 2014-07-10 12:50:56 +0200 | [diff] [blame] | 301 | iic1_pins: iic1 { |
| 302 | renesas,groups = "iic1"; |
| 303 | renesas,function = "iic1"; |
Simon Horman | d90bf60 | 2014-06-06 16:11:00 +0900 | [diff] [blame] | 304 | }; |
| 305 | |
Wolfram Sang | cb9a2b1 | 2014-07-10 12:50:56 +0200 | [diff] [blame] | 306 | iic2_pins: iic2 { |
| 307 | renesas,groups = "iic2"; |
| 308 | renesas,function = "iic2"; |
Simon Horman | d90bf60 | 2014-06-06 16:11:00 +0900 | [diff] [blame] | 309 | }; |
| 310 | |
Khiem Nguyen | 5179ffd | 2014-07-04 09:19:51 +0900 | [diff] [blame] | 311 | iic3_pins: iic3 { |
| 312 | renesas,groups = "iic3"; |
| 313 | renesas,function = "iic3"; |
Benoit Cousson | 05f72e0 | 2014-06-03 21:02:12 +0900 | [diff] [blame] | 314 | }; |
Ben Dooks | d858466 | 2014-06-24 22:02:21 +0400 | [diff] [blame] | 315 | |
Yoshihiro Shimoda | e03074a | 2014-10-24 19:44:34 +0900 | [diff] [blame] | 316 | hsusb_pins: hsusb { |
| 317 | renesas,groups = "usb0_ovc_vbus"; |
| 318 | renesas,function = "usb0"; |
| 319 | }; |
| 320 | |
Ben Dooks | d858466 | 2014-06-24 22:02:21 +0400 | [diff] [blame] | 321 | usb0_pins: usb0 { |
| 322 | renesas,groups = "usb0"; |
| 323 | renesas,function = "usb0"; |
| 324 | }; |
| 325 | |
| 326 | usb1_pins: usb1 { |
| 327 | renesas,groups = "usb1"; |
| 328 | renesas,function = "usb1"; |
| 329 | }; |
| 330 | |
| 331 | usb2_pins: usb2 { |
| 332 | renesas,groups = "usb2"; |
| 333 | renesas,function = "usb2"; |
| 334 | }; |
Ben Dooks | d594c97 | 2014-08-13 00:18:26 +0400 | [diff] [blame] | 335 | |
| 336 | vin1_pins: vin { |
| 337 | renesas,groups = "vin1_data8", "vin1_clk"; |
| 338 | renesas,function = "vin1"; |
| 339 | }; |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 340 | |
| 341 | sound_pins: sound { |
| 342 | renesas,groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data"; |
| 343 | renesas,function = "ssi"; |
| 344 | }; |
| 345 | |
| 346 | sound_clk_pins: sound_clk { |
| 347 | renesas,groups = "audio_clk_a"; |
| 348 | renesas,function = "audio_clk"; |
| 349 | }; |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 350 | }; |
| 351 | |
Sergei Shtylyov | da4ea95 | 2014-02-20 02:22:31 +0300 | [diff] [blame] | 352 | ðer { |
| 353 | pinctrl-0 = <ðer_pins &phy1_pins>; |
| 354 | pinctrl-names = "default"; |
| 355 | |
| 356 | phy-handle = <&phy1>; |
| 357 | renesas,ether-link-active-low; |
| 358 | status = "ok"; |
| 359 | |
| 360 | phy1: ethernet-phy@1 { |
| 361 | reg = <1>; |
| 362 | interrupt-parent = <&irqc0>; |
| 363 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
Simon Horman | 1c47a6a | 2014-04-08 09:21:35 +0900 | [diff] [blame] | 364 | micrel,led-mode = <1>; |
Sergei Shtylyov | da4ea95 | 2014-02-20 02:22:31 +0300 | [diff] [blame] | 365 | }; |
| 366 | }; |
| 367 | |
Laurent Pinchart | 247fd5e | 2014-07-09 15:12:41 +0200 | [diff] [blame] | 368 | &cmt0 { |
| 369 | status = "ok"; |
| 370 | }; |
| 371 | |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 372 | &mmcif1 { |
| 373 | pinctrl-0 = <&mmc1_pins>; |
| 374 | pinctrl-names = "default"; |
| 375 | |
| 376 | vmmc-supply = <&fixedregulator3v3>; |
| 377 | bus-width = <8>; |
| 378 | non-removable; |
| 379 | status = "okay"; |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 380 | }; |
Valentine Barshak | c6181b9 | 2014-01-14 21:05:31 +0400 | [diff] [blame] | 381 | |
| 382 | &sata1 { |
| 383 | status = "okay"; |
| 384 | }; |
Geert Uytterhoeven | 9fe7c4f | 2014-02-10 11:47:30 +0100 | [diff] [blame] | 385 | |
Geert Uytterhoeven | fad6d45 | 2014-02-25 11:30:13 +0100 | [diff] [blame] | 386 | &qspi { |
Geert Uytterhoeven | 9fe7c4f | 2014-02-10 11:47:30 +0100 | [diff] [blame] | 387 | pinctrl-0 = <&qspi_pins>; |
| 388 | pinctrl-names = "default"; |
| 389 | |
| 390 | status = "okay"; |
| 391 | |
| 392 | flash: flash@0 { |
| 393 | #address-cells = <1>; |
| 394 | #size-cells = <1>; |
| 395 | compatible = "spansion,s25fl512s"; |
| 396 | reg = <0>; |
| 397 | spi-max-frequency = <30000000>; |
Geert Uytterhoeven | 9909d2c | 2014-04-14 19:36:00 +0200 | [diff] [blame] | 398 | spi-tx-bus-width = <4>; |
| 399 | spi-rx-bus-width = <4>; |
Hisashi Nakamura | cbf4116 | 2014-12-10 11:30:27 +0900 | [diff] [blame^] | 400 | spi-cpha; |
| 401 | spi-cpol; |
Geert Uytterhoeven | 9fe7c4f | 2014-02-10 11:47:30 +0100 | [diff] [blame] | 402 | m25p,fast-read; |
| 403 | |
| 404 | partition@0 { |
| 405 | label = "loader"; |
| 406 | reg = <0x00000000 0x00040000>; |
| 407 | read-only; |
| 408 | }; |
| 409 | partition@40000 { |
| 410 | label = "user"; |
| 411 | reg = <0x00040000 0x00400000>; |
| 412 | read-only; |
| 413 | }; |
| 414 | partition@440000 { |
| 415 | label = "flash"; |
| 416 | reg = <0x00440000 0x03bc0000>; |
| 417 | }; |
| 418 | }; |
| 419 | }; |
Kuninori Morimoto | c611994 | 2014-02-12 21:43:19 -0800 | [diff] [blame] | 420 | |
Wolfram Sang | 7c05589 | 2014-09-16 18:10:37 +0200 | [diff] [blame] | 421 | &scifa0 { |
| 422 | pinctrl-0 = <&scifa0_pins>; |
Laurent Pinchart | 4e9c487 | 2014-04-30 02:31:45 +0200 | [diff] [blame] | 423 | pinctrl-names = "default"; |
| 424 | |
| 425 | status = "okay"; |
| 426 | }; |
| 427 | |
Wolfram Sang | 7c05589 | 2014-09-16 18:10:37 +0200 | [diff] [blame] | 428 | &scifa1 { |
| 429 | pinctrl-0 = <&scifa1_pins>; |
Laurent Pinchart | 4e9c487 | 2014-04-30 02:31:45 +0200 | [diff] [blame] | 430 | pinctrl-names = "default"; |
| 431 | |
| 432 | status = "okay"; |
| 433 | }; |
| 434 | |
Geert Uytterhoeven | b0403b9 | 2014-02-25 11:30:17 +0100 | [diff] [blame] | 435 | &msiof1 { |
| 436 | pinctrl-0 = <&msiof1_pins>; |
| 437 | pinctrl-names = "default"; |
| 438 | |
| 439 | status = "okay"; |
| 440 | |
| 441 | pmic: pmic@0 { |
| 442 | compatible = "renesas,r2a11302ft"; |
| 443 | reg = <0>; |
| 444 | spi-max-frequency = <6000000>; |
| 445 | spi-cpol; |
| 446 | spi-cpha; |
| 447 | }; |
Geert Uytterhoeven | b0403b9 | 2014-02-25 11:30:17 +0100 | [diff] [blame] | 448 | }; |
| 449 | |
Kuninori Morimoto | c611994 | 2014-02-12 21:43:19 -0800 | [diff] [blame] | 450 | &sdhi0 { |
| 451 | pinctrl-0 = <&sdhi0_pins>; |
| 452 | pinctrl-names = "default"; |
| 453 | |
| 454 | vmmc-supply = <&vcc_sdhi0>; |
| 455 | vqmmc-supply = <&vccq_sdhi0>; |
| 456 | cd-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>; |
| 457 | status = "okay"; |
| 458 | }; |
| 459 | |
| 460 | &sdhi2 { |
| 461 | pinctrl-0 = <&sdhi2_pins>; |
| 462 | pinctrl-names = "default"; |
| 463 | |
| 464 | vmmc-supply = <&vcc_sdhi2>; |
| 465 | vqmmc-supply = <&vccq_sdhi2>; |
| 466 | cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>; |
| 467 | status = "okay"; |
| 468 | }; |
Benoit Cousson | 05f72e0 | 2014-06-03 21:02:12 +0900 | [diff] [blame] | 469 | |
Benoit Cousson | b989e13 | 2014-06-03 21:02:24 +0900 | [diff] [blame] | 470 | &cpu0 { |
| 471 | cpu0-supply = <&vdd_dvfs>; |
| 472 | }; |
Ben Dooks | e489c2a | 2014-02-12 17:04:33 +0000 | [diff] [blame] | 473 | |
Wolfram Sang | cb9a2b1 | 2014-07-10 12:50:56 +0200 | [diff] [blame] | 474 | &iic0 { |
Ben Dooks | e489c2a | 2014-02-12 17:04:33 +0000 | [diff] [blame] | 475 | status = "ok"; |
| 476 | }; |
| 477 | |
Wolfram Sang | cb9a2b1 | 2014-07-10 12:50:56 +0200 | [diff] [blame] | 478 | &iic1 { |
Ben Dooks | e489c2a | 2014-02-12 17:04:33 +0000 | [diff] [blame] | 479 | status = "ok"; |
Wolfram Sang | cb9a2b1 | 2014-07-10 12:50:56 +0200 | [diff] [blame] | 480 | pinctrl-0 = <&iic1_pins>; |
Ben Dooks | e1a2c4e | 2014-02-12 17:04:34 +0000 | [diff] [blame] | 481 | pinctrl-names = "default"; |
Ben Dooks | e489c2a | 2014-02-12 17:04:33 +0000 | [diff] [blame] | 482 | }; |
| 483 | |
Wolfram Sang | cb9a2b1 | 2014-07-10 12:50:56 +0200 | [diff] [blame] | 484 | &iic2 { |
Ben Dooks | e489c2a | 2014-02-12 17:04:33 +0000 | [diff] [blame] | 485 | status = "ok"; |
Wolfram Sang | cb9a2b1 | 2014-07-10 12:50:56 +0200 | [diff] [blame] | 486 | pinctrl-0 = <&iic2_pins>; |
Ben Dooks | e1a2c4e | 2014-02-12 17:04:34 +0000 | [diff] [blame] | 487 | pinctrl-names = "default"; |
Ben Dooks | d594c97 | 2014-08-13 00:18:26 +0400 | [diff] [blame] | 488 | |
Kuninori Morimoto | 177d8be | 2014-11-03 17:47:46 -0800 | [diff] [blame] | 489 | clock-frequency = <100000>; |
| 490 | |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 491 | ak4643: sound-codec@12 { |
| 492 | compatible = "asahi-kasei,ak4643"; |
| 493 | #sound-dai-cells = <0>; |
| 494 | reg = <0x12>; |
| 495 | }; |
| 496 | |
Ben Dooks | d594c97 | 2014-08-13 00:18:26 +0400 | [diff] [blame] | 497 | composite-in@20 { |
| 498 | compatible = "adi,adv7180"; |
| 499 | reg = <0x20>; |
| 500 | remote = <&vin1>; |
| 501 | |
| 502 | port { |
| 503 | adv7180: endpoint { |
| 504 | bus-width = <8>; |
| 505 | remote-endpoint = <&vin1ep0>; |
| 506 | }; |
| 507 | }; |
| 508 | }; |
Ben Dooks | e489c2a | 2014-02-12 17:04:33 +0000 | [diff] [blame] | 509 | }; |
| 510 | |
Khiem Nguyen | 5179ffd | 2014-07-04 09:19:51 +0900 | [diff] [blame] | 511 | &iic3 { |
Simon Horman | aca4ec4 | 2014-06-09 11:09:44 +0900 | [diff] [blame] | 512 | pinctrl-names = "default"; |
Khiem Nguyen | 5179ffd | 2014-07-04 09:19:51 +0900 | [diff] [blame] | 513 | pinctrl-0 = <&iic3_pins>; |
Simon Horman | aca4ec4 | 2014-06-09 11:09:44 +0900 | [diff] [blame] | 514 | status = "okay"; |
| 515 | |
| 516 | vdd_dvfs: regulator@68 { |
Steve Twiss | bd597f4 | 2014-08-22 15:26:55 +0100 | [diff] [blame] | 517 | compatible = "dlg,da9210"; |
Simon Horman | aca4ec4 | 2014-06-09 11:09:44 +0900 | [diff] [blame] | 518 | reg = <0x68>; |
| 519 | |
| 520 | regulator-min-microvolt = <1000000>; |
| 521 | regulator-max-microvolt = <1000000>; |
| 522 | regulator-boot-on; |
| 523 | regulator-always-on; |
| 524 | }; |
Ben Dooks | e489c2a | 2014-02-12 17:04:33 +0000 | [diff] [blame] | 525 | }; |
Ben Dooks | d858466 | 2014-06-24 22:02:21 +0400 | [diff] [blame] | 526 | |
| 527 | &pci0 { |
| 528 | status = "okay"; |
| 529 | pinctrl-0 = <&usb0_pins>; |
| 530 | pinctrl-names = "default"; |
| 531 | }; |
| 532 | |
| 533 | &pci1 { |
| 534 | status = "okay"; |
| 535 | pinctrl-0 = <&usb1_pins>; |
| 536 | pinctrl-names = "default"; |
| 537 | }; |
| 538 | |
Yoshihiro Shimoda | 37f7c1b | 2014-10-24 19:41:47 +0900 | [diff] [blame] | 539 | &xhci { |
| 540 | status = "okay"; |
| 541 | pinctrl-0 = <&usb2_pins>; |
| 542 | pinctrl-names = "default"; |
| 543 | }; |
| 544 | |
Ben Dooks | d858466 | 2014-06-24 22:02:21 +0400 | [diff] [blame] | 545 | &pci2 { |
| 546 | status = "okay"; |
| 547 | pinctrl-0 = <&usb2_pins>; |
| 548 | pinctrl-names = "default"; |
| 549 | }; |
Ben Dooks | d594c97 | 2014-08-13 00:18:26 +0400 | [diff] [blame] | 550 | |
Yoshihiro Shimoda | e03074a | 2014-10-24 19:44:34 +0900 | [diff] [blame] | 551 | &hsusb { |
| 552 | status = "okay"; |
| 553 | pinctrl-0 = <&hsusb_pins>; |
| 554 | pinctrl-names = "default"; |
| 555 | renesas,enable-gpio = <&gpio5 18 GPIO_ACTIVE_HIGH>; |
| 556 | }; |
| 557 | |
Sergei Shtylyov | 6742caf | 2014-09-27 01:01:35 +0400 | [diff] [blame] | 558 | &usbphy { |
| 559 | status = "okay"; |
| 560 | }; |
| 561 | |
Ben Dooks | d594c97 | 2014-08-13 00:18:26 +0400 | [diff] [blame] | 562 | /* composite video input */ |
| 563 | &vin1 { |
| 564 | pinctrl-0 = <&vin1_pins>; |
| 565 | pinctrl-names = "default"; |
| 566 | |
| 567 | status = "ok"; |
| 568 | |
| 569 | port { |
| 570 | #address-cells = <1>; |
| 571 | #size-cells = <0>; |
| 572 | |
| 573 | vin1ep0: endpoint { |
| 574 | remote-endpoint = <&adv7180>; |
| 575 | bus-width = <8>; |
| 576 | }; |
| 577 | }; |
| 578 | }; |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 579 | |
| 580 | &rcar_sound { |
| 581 | pinctrl-0 = <&sound_pins &sound_clk_pins>; |
| 582 | pinctrl-names = "default"; |
| 583 | |
| 584 | #sound-dai-cells = <0>; |
| 585 | |
| 586 | status = "okay"; |
| 587 | |
| 588 | rcar_sound,dai { |
| 589 | dai0 { |
Kuninori Morimoto | e110c54 | 2014-11-03 17:48:38 -0800 | [diff] [blame] | 590 | playback = <&ssi0 &src2 &dvc0>; |
| 591 | capture = <&ssi1 &src3 &dvc1>; |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 592 | }; |
| 593 | }; |
| 594 | }; |
| 595 | |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 596 | &ssi1 { |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 597 | shared-pin; |
| 598 | }; |