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. |
Wolfram Sang | 880cb57 | 2016-02-15 13:57:49 +0100 | [diff] [blame] | 6 | * Copyright (C) 2015-2016 Renesas Electronics Corporation |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 7 | * |
| 8 | * This file is licensed under the terms of the GNU General Public License |
| 9 | * version 2. This program is licensed "as is" without any warranty of any |
| 10 | * kind, whether express or implied. |
| 11 | */ |
| 12 | |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 13 | /* |
| 14 | * SSI-AK4643 |
| 15 | * |
| 16 | * SW1: 1: AK4643 |
| 17 | * 2: CN22 |
| 18 | * 3: ADV7511 |
| 19 | * |
| 20 | * This command is required when Playback/Capture |
| 21 | * |
| 22 | * amixer set "LINEOUT Mixer DACL" on |
Kuninori Morimoto | e110c54 | 2014-11-03 17:48:38 -0800 | [diff] [blame] | 23 | * amixer set "DVC Out" 100% |
| 24 | * amixer set "DVC In" 100% |
| 25 | * |
| 26 | * You can use Mute |
| 27 | * |
| 28 | * amixer set "DVC Out Mute" on |
| 29 | * amixer set "DVC In Mute" on |
Kuninori Morimoto | bd2e4a6 | 2014-11-11 04:36:47 +0000 | [diff] [blame] | 30 | * |
| 31 | * You can use Volume Ramp |
| 32 | * |
| 33 | * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps" |
| 34 | * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps" |
| 35 | * amixer set "DVC Out Ramp" on |
| 36 | * aplay xxx.wav & |
| 37 | * amixer set "DVC Out" 80% // Volume Down |
| 38 | * amixer set "DVC Out" 100% // Volume Up |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 39 | */ |
| 40 | |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 41 | /dts-v1/; |
Laurent Pinchart | 31c46cb | 2013-11-09 13:23:53 +0100 | [diff] [blame] | 42 | #include "r8a7790.dtsi" |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 43 | #include <dt-bindings/gpio/gpio.h> |
Magnus Damm | f7dcd38 | 2014-03-18 21:57:48 +0900 | [diff] [blame] | 44 | #include <dt-bindings/input/input.h> |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 45 | |
| 46 | / { |
| 47 | model = "Lager"; |
| 48 | compatible = "renesas,lager", "renesas,r8a7790"; |
| 49 | |
Laurent Pinchart | 4e9c487 | 2014-04-30 02:31:45 +0200 | [diff] [blame] | 50 | aliases { |
Ulrich Hecht | 430d7ba | 2015-11-13 17:22:23 +0100 | [diff] [blame] | 51 | serial0 = &scif0; |
Laurent Pinchart | 78c11ec | 2013-10-18 16:00:00 +0200 | [diff] [blame] | 52 | serial1 = &scifa1; |
Wolfram Sang | 880cb57 | 2016-02-15 13:57:49 +0100 | [diff] [blame] | 53 | i2c8 = "i2cexio"; |
Laurent Pinchart | 4e9c487 | 2014-04-30 02:31:45 +0200 | [diff] [blame] | 54 | }; |
| 55 | |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 56 | chosen { |
Geert Uytterhoeven | 569dd56 | 2014-12-02 18:39:48 +0100 | [diff] [blame] | 57 | bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; |
Geert Uytterhoeven | 57d19f8 | 2015-12-08 18:54:15 +0100 | [diff] [blame] | 58 | stdout-path = "serial0:115200n8"; |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 59 | }; |
| 60 | |
| 61 | memory@40000000 { |
| 62 | device_type = "memory"; |
Magnus Damm | 7b16c61 | 2014-06-06 15:40:26 +0900 | [diff] [blame] | 63 | reg = <0 0x40000000 0 0x40000000>; |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 64 | }; |
| 65 | |
Simon Horman | 126f998 | 2014-09-03 09:49:01 +0900 | [diff] [blame] | 66 | memory@140000000 { |
Magnus Damm | 62bc32a | 2013-10-31 12:21:41 +0900 | [diff] [blame] | 67 | device_type = "memory"; |
Magnus Damm | 7b16c61 | 2014-06-06 15:40:26 +0900 | [diff] [blame] | 68 | reg = <1 0x40000000 0 0xc0000000>; |
Magnus Damm | 62bc32a | 2013-10-31 12:21:41 +0900 | [diff] [blame] | 69 | }; |
| 70 | |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 71 | lbsc { |
| 72 | #address-cells = <1>; |
| 73 | #size-cells = <1>; |
| 74 | }; |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 75 | |
Simon Horman | 54caf68 | 2014-11-12 17:59:35 +0900 | [diff] [blame] | 76 | keyboard { |
Magnus Damm | f7dcd38 | 2014-03-18 21:57:48 +0900 | [diff] [blame] | 77 | compatible = "gpio-keys"; |
| 78 | |
| 79 | button@1 { |
| 80 | linux,code = <KEY_1>; |
| 81 | label = "SW2-1"; |
Sudeep Holla | 0cc1688 | 2015-10-21 11:10:11 +0100 | [diff] [blame] | 82 | wakeup-source; |
Magnus Damm | f7dcd38 | 2014-03-18 21:57:48 +0900 | [diff] [blame] | 83 | debounce-interval = <20>; |
| 84 | gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; |
| 85 | }; |
| 86 | button@2 { |
| 87 | linux,code = <KEY_2>; |
| 88 | label = "SW2-2"; |
Sudeep Holla | 0cc1688 | 2015-10-21 11:10:11 +0100 | [diff] [blame] | 89 | wakeup-source; |
Magnus Damm | f7dcd38 | 2014-03-18 21:57:48 +0900 | [diff] [blame] | 90 | debounce-interval = <20>; |
| 91 | gpios = <&gpio1 24 GPIO_ACTIVE_LOW>; |
| 92 | }; |
| 93 | button@3 { |
| 94 | linux,code = <KEY_3>; |
| 95 | label = "SW2-3"; |
Sudeep Holla | 0cc1688 | 2015-10-21 11:10:11 +0100 | [diff] [blame] | 96 | wakeup-source; |
Magnus Damm | f7dcd38 | 2014-03-18 21:57:48 +0900 | [diff] [blame] | 97 | debounce-interval = <20>; |
| 98 | gpios = <&gpio1 26 GPIO_ACTIVE_LOW>; |
| 99 | }; |
| 100 | button@4 { |
| 101 | linux,code = <KEY_4>; |
| 102 | label = "SW2-4"; |
Sudeep Holla | 0cc1688 | 2015-10-21 11:10:11 +0100 | [diff] [blame] | 103 | wakeup-source; |
Magnus Damm | f7dcd38 | 2014-03-18 21:57:48 +0900 | [diff] [blame] | 104 | debounce-interval = <20>; |
| 105 | gpios = <&gpio1 28 GPIO_ACTIVE_LOW>; |
| 106 | }; |
| 107 | }; |
| 108 | |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 109 | leds { |
| 110 | compatible = "gpio-leds"; |
| 111 | led6 { |
| 112 | gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>; |
| 113 | }; |
| 114 | led7 { |
| 115 | gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>; |
| 116 | }; |
| 117 | led8 { |
| 118 | gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>; |
| 119 | }; |
| 120 | }; |
| 121 | |
| 122 | fixedregulator3v3: fixedregulator@0 { |
| 123 | compatible = "regulator-fixed"; |
| 124 | regulator-name = "fixed-3.3V"; |
| 125 | regulator-min-microvolt = <3300000>; |
| 126 | regulator-max-microvolt = <3300000>; |
| 127 | regulator-boot-on; |
| 128 | regulator-always-on; |
| 129 | }; |
Kuninori Morimoto | c611994 | 2014-02-12 21:43:19 -0800 | [diff] [blame] | 130 | |
| 131 | vcc_sdhi0: regulator@1 { |
| 132 | compatible = "regulator-fixed"; |
| 133 | |
| 134 | regulator-name = "SDHI0 Vcc"; |
| 135 | regulator-min-microvolt = <3300000>; |
| 136 | regulator-max-microvolt = <3300000>; |
| 137 | |
| 138 | gpio = <&gpio5 24 GPIO_ACTIVE_HIGH>; |
| 139 | enable-active-high; |
| 140 | }; |
| 141 | |
| 142 | vccq_sdhi0: regulator@2 { |
| 143 | compatible = "regulator-gpio"; |
| 144 | |
| 145 | regulator-name = "SDHI0 VccQ"; |
| 146 | regulator-min-microvolt = <1800000>; |
| 147 | regulator-max-microvolt = <3300000>; |
| 148 | |
| 149 | gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>; |
| 150 | gpios-states = <1>; |
| 151 | states = <3300000 1 |
| 152 | 1800000 0>; |
| 153 | }; |
| 154 | |
| 155 | vcc_sdhi2: regulator@3 { |
| 156 | compatible = "regulator-fixed"; |
| 157 | |
| 158 | regulator-name = "SDHI2 Vcc"; |
| 159 | regulator-min-microvolt = <3300000>; |
| 160 | regulator-max-microvolt = <3300000>; |
| 161 | |
| 162 | gpio = <&gpio5 25 GPIO_ACTIVE_HIGH>; |
| 163 | enable-active-high; |
| 164 | }; |
| 165 | |
| 166 | vccq_sdhi2: regulator@4 { |
| 167 | compatible = "regulator-gpio"; |
| 168 | |
| 169 | regulator-name = "SDHI2 VccQ"; |
| 170 | regulator-min-microvolt = <1800000>; |
| 171 | regulator-max-microvolt = <3300000>; |
| 172 | |
| 173 | gpios = <&gpio5 30 GPIO_ACTIVE_HIGH>; |
| 174 | gpios-states = <1>; |
| 175 | states = <3300000 1 |
| 176 | 1800000 0>; |
| 177 | }; |
Laurent Pinchart | 3edd18f | 2014-01-21 16:02:54 +0100 | [diff] [blame] | 178 | |
Simon Horman | a5bad2c | 2016-03-18 08:17:57 +0900 | [diff] [blame] | 179 | audio_clock: audio_clock { |
Kuninori Morimoto | 6bc651a | 2015-08-20 03:09:52 +0000 | [diff] [blame] | 180 | compatible = "fixed-clock"; |
| 181 | #clock-cells = <0>; |
| 182 | clock-frequency = <11289600>; |
Kuninori Morimoto | 6bc651a | 2015-08-20 03:09:52 +0000 | [diff] [blame] | 183 | }; |
| 184 | |
Kuninori Morimoto | 30be0ba | 2015-07-14 04:56:10 +0000 | [diff] [blame] | 185 | rsnd_ak4643: sound { |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 186 | compatible = "simple-audio-card"; |
| 187 | |
| 188 | simple-audio-card,format = "left_j"; |
| 189 | simple-audio-card,bitclock-master = <&sndcodec>; |
| 190 | simple-audio-card,frame-master = <&sndcodec>; |
| 191 | |
| 192 | sndcpu: simple-audio-card,cpu { |
| 193 | sound-dai = <&rcar_sound>; |
| 194 | }; |
| 195 | |
| 196 | sndcodec: simple-audio-card,codec { |
| 197 | sound-dai = <&ak4643>; |
Kuninori Morimoto | 6bc651a | 2015-08-20 03:09:52 +0000 | [diff] [blame] | 198 | clocks = <&audio_clock>; |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 199 | }; |
| 200 | }; |
| 201 | |
Laurent Pinchart | 3edd18f | 2014-01-21 16:02:54 +0100 | [diff] [blame] | 202 | vga-encoder { |
| 203 | compatible = "adi,adv7123"; |
| 204 | |
| 205 | ports { |
| 206 | #address-cells = <1>; |
| 207 | #size-cells = <0>; |
| 208 | |
| 209 | port@0 { |
| 210 | reg = <0>; |
| 211 | adv7123_in: endpoint { |
| 212 | remote-endpoint = <&du_out_rgb>; |
| 213 | }; |
| 214 | }; |
| 215 | port@1 { |
| 216 | reg = <1>; |
| 217 | adv7123_out: endpoint { |
| 218 | remote-endpoint = <&vga_in>; |
| 219 | }; |
| 220 | }; |
| 221 | }; |
| 222 | }; |
| 223 | |
| 224 | vga { |
| 225 | compatible = "vga-connector"; |
| 226 | |
| 227 | port { |
| 228 | vga_in: endpoint { |
| 229 | remote-endpoint = <&adv7123_out>; |
| 230 | }; |
| 231 | }; |
| 232 | }; |
Laurent Pinchart | fd25cdd | 2014-12-11 01:42:11 +0200 | [diff] [blame] | 233 | |
| 234 | hdmi-out { |
| 235 | compatible = "hdmi-connector"; |
| 236 | type = "a"; |
| 237 | |
| 238 | port { |
| 239 | hdmi_con: endpoint { |
| 240 | remote-endpoint = <&adv7511_out>; |
| 241 | }; |
| 242 | }; |
| 243 | }; |
Laurent Pinchart | 26c00ab | 2015-02-26 11:21:22 +0200 | [diff] [blame] | 244 | |
| 245 | x2_clk: x2-clock { |
| 246 | compatible = "fixed-clock"; |
| 247 | #clock-cells = <0>; |
| 248 | clock-frequency = <148500000>; |
| 249 | }; |
| 250 | |
| 251 | x13_clk: x13-clock { |
| 252 | compatible = "fixed-clock"; |
| 253 | #clock-cells = <0>; |
| 254 | clock-frequency = <148500000>; |
| 255 | }; |
Wolfram Sang | 880cb57 | 2016-02-15 13:57:49 +0100 | [diff] [blame] | 256 | |
| 257 | /* |
| 258 | * IIC0/I2C0 is routed to EXIO connector A, pins 114 (SCL) + 116 (SDA) only. |
| 259 | * We use the I2C demuxer, so the desired IP core can be selected at runtime |
| 260 | * depending on the use case (e.g. DMA with IIC0 or slave support with I2C0). |
| 261 | * Note: For testing the I2C slave feature, it is convenient to connect this |
| 262 | * bus with IIC3 on pins 110 (SCL) + 112 (SDA), select I2C0 at runtime, and |
| 263 | * instantiate the slave device at runtime according to the documentation. |
| 264 | * You can then communicate with the slave via IIC3. |
| 265 | */ |
| 266 | i2cexio: i2c@8 { |
| 267 | compatible = "i2c-demux-pinctrl"; |
| 268 | i2c-parent = <&iic0>, <&i2c0>; |
| 269 | i2c-bus-name = "i2c-exio"; |
| 270 | #address-cells = <1>; |
| 271 | #size-cells = <0>; |
| 272 | }; |
Laurent Pinchart | 3edd18f | 2014-01-21 16:02:54 +0100 | [diff] [blame] | 273 | }; |
| 274 | |
| 275 | &du { |
| 276 | pinctrl-0 = <&du_pins>; |
| 277 | pinctrl-names = "default"; |
| 278 | status = "okay"; |
| 279 | |
Laurent Pinchart | 26c00ab | 2015-02-26 11:21:22 +0200 | [diff] [blame] | 280 | clocks = <&mstp7_clks R8A7790_CLK_DU0>, |
| 281 | <&mstp7_clks R8A7790_CLK_DU1>, |
| 282 | <&mstp7_clks R8A7790_CLK_DU2>, |
| 283 | <&mstp7_clks R8A7790_CLK_LVDS0>, |
| 284 | <&mstp7_clks R8A7790_CLK_LVDS1>, |
| 285 | <&x13_clk>, <&x2_clk>; |
| 286 | clock-names = "du.0", "du.1", "du.2", "lvds.0", "lvds.1", |
| 287 | "dclkin.0", "dclkin.1"; |
| 288 | |
Laurent Pinchart | 3edd18f | 2014-01-21 16:02:54 +0100 | [diff] [blame] | 289 | ports { |
| 290 | port@0 { |
| 291 | endpoint { |
| 292 | remote-endpoint = <&adv7123_in>; |
| 293 | }; |
| 294 | }; |
Laurent Pinchart | fd25cdd | 2014-12-11 01:42:11 +0200 | [diff] [blame] | 295 | port@1 { |
| 296 | endpoint { |
| 297 | remote-endpoint = <&adv7511_in>; |
| 298 | }; |
| 299 | }; |
Laurent Pinchart | 3edd18f | 2014-01-21 16:02:54 +0100 | [diff] [blame] | 300 | port@2 { |
| 301 | lvds_connector: endpoint { |
| 302 | }; |
| 303 | }; |
| 304 | }; |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 305 | }; |
| 306 | |
Laurent Pinchart | 62e4305 | 2013-12-11 15:13:49 +0100 | [diff] [blame] | 307 | &extal_clk { |
| 308 | clock-frequency = <20000000>; |
| 309 | }; |
| 310 | |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 311 | &pfc { |
Geert Uytterhoeven | 1781460 | 2016-01-29 11:17:22 +0100 | [diff] [blame] | 312 | pinctrl-0 = <&scif_clk_pins>; |
| 313 | pinctrl-names = "default"; |
| 314 | |
Laurent Pinchart | 3024f50 | 2014-02-16 22:31:59 +0100 | [diff] [blame] | 315 | du_pins: du { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 316 | groups = "du_rgb666", "du_sync_1", "du_clk_out_0"; |
| 317 | function = "du"; |
Laurent Pinchart | 3024f50 | 2014-02-16 22:31:59 +0100 | [diff] [blame] | 318 | }; |
| 319 | |
Ulrich Hecht | 430d7ba | 2015-11-13 17:22:23 +0100 | [diff] [blame] | 320 | scif0_pins: serial0 { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 321 | groups = "scif0_data"; |
| 322 | function = "scif0"; |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 323 | }; |
| 324 | |
Geert Uytterhoeven | 1781460 | 2016-01-29 11:17:22 +0100 | [diff] [blame] | 325 | scif_clk_pins: scif_clk { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 326 | groups = "scif_clk"; |
| 327 | function = "scif_clk"; |
Geert Uytterhoeven | 1781460 | 2016-01-29 11:17:22 +0100 | [diff] [blame] | 328 | }; |
| 329 | |
Sergei Shtylyov | da4ea95 | 2014-02-20 02:22:31 +0300 | [diff] [blame] | 330 | ether_pins: ether { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 331 | groups = "eth_link", "eth_mdio", "eth_rmii"; |
| 332 | function = "eth"; |
Sergei Shtylyov | da4ea95 | 2014-02-20 02:22:31 +0300 | [diff] [blame] | 333 | }; |
| 334 | |
| 335 | phy1_pins: phy1 { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 336 | groups = "intc_irq0"; |
| 337 | function = "intc"; |
Sergei Shtylyov | da4ea95 | 2014-02-20 02:22:31 +0300 | [diff] [blame] | 338 | }; |
| 339 | |
Wolfram Sang | 7c05589 | 2014-09-16 18:10:37 +0200 | [diff] [blame] | 340 | scifa1_pins: serial1 { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 341 | groups = "scifa1_data"; |
| 342 | function = "scifa1"; |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 343 | }; |
| 344 | |
Kuninori Morimoto | c611994 | 2014-02-12 21:43:19 -0800 | [diff] [blame] | 345 | sdhi0_pins: sd0 { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 346 | groups = "sdhi0_data4", "sdhi0_ctrl"; |
| 347 | function = "sdhi0"; |
Wolfram Sang | 1ca7969 | 2016-04-01 17:44:39 +0200 | [diff] [blame^] | 348 | power-source = <3300>; |
| 349 | }; |
| 350 | |
| 351 | sdhi0_pins_uhs: sd0_uhs { |
| 352 | groups = "sdhi0_data4", "sdhi0_ctrl"; |
| 353 | function = "sdhi0"; |
| 354 | power-source = <1800>; |
Kuninori Morimoto | c611994 | 2014-02-12 21:43:19 -0800 | [diff] [blame] | 355 | }; |
| 356 | |
| 357 | sdhi2_pins: sd2 { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 358 | groups = "sdhi2_data4", "sdhi2_ctrl"; |
| 359 | function = "sdhi2"; |
Wolfram Sang | 1ca7969 | 2016-04-01 17:44:39 +0200 | [diff] [blame^] | 360 | power-source = <3300>; |
| 361 | }; |
| 362 | |
| 363 | sdhi2_pins_uhs: sd2_uhs { |
| 364 | groups = "sdhi2_data4", "sdhi2_ctrl"; |
| 365 | function = "sdhi2"; |
| 366 | power-source = <1800>; |
Kuninori Morimoto | c611994 | 2014-02-12 21:43:19 -0800 | [diff] [blame] | 367 | }; |
| 368 | |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 369 | mmc1_pins: mmc1 { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 370 | groups = "mmc1_data8", "mmc1_ctrl"; |
| 371 | function = "mmc1"; |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 372 | }; |
Geert Uytterhoeven | 9fe7c4f | 2014-02-10 11:47:30 +0100 | [diff] [blame] | 373 | |
Geert Uytterhoeven | fad6d45 | 2014-02-25 11:30:13 +0100 | [diff] [blame] | 374 | qspi_pins: spi0 { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 375 | groups = "qspi_ctrl", "qspi_data4"; |
| 376 | function = "qspi"; |
Geert Uytterhoeven | 9fe7c4f | 2014-02-10 11:47:30 +0100 | [diff] [blame] | 377 | }; |
Geert Uytterhoeven | b0403b9 | 2014-02-25 11:30:17 +0100 | [diff] [blame] | 378 | |
| 379 | msiof1_pins: spi2 { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 380 | groups = "msiof1_clk", "msiof1_sync", "msiof1_rx", |
Geert Uytterhoeven | b0403b9 | 2014-02-25 11:30:17 +0100 | [diff] [blame] | 381 | "msiof1_tx"; |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 382 | function = "msiof1"; |
Geert Uytterhoeven | b0403b9 | 2014-02-25 11:30:17 +0100 | [diff] [blame] | 383 | }; |
Benoit Cousson | 05f72e0 | 2014-06-03 21:02:12 +0900 | [diff] [blame] | 384 | |
Wolfram Sang | 880cb57 | 2016-02-15 13:57:49 +0100 | [diff] [blame] | 385 | i2c0_pins: i2c0 { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 386 | groups = "i2c0"; |
| 387 | function = "i2c0"; |
Wolfram Sang | 880cb57 | 2016-02-15 13:57:49 +0100 | [diff] [blame] | 388 | }; |
| 389 | |
Wolfram Sang | 535118c | 2015-09-09 19:48:19 +0200 | [diff] [blame] | 390 | iic0_pins: iic0 { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 391 | groups = "iic0"; |
| 392 | function = "iic0"; |
Wolfram Sang | 535118c | 2015-09-09 19:48:19 +0200 | [diff] [blame] | 393 | }; |
| 394 | |
Wolfram Sang | cb9a2b1 | 2014-07-10 12:50:56 +0200 | [diff] [blame] | 395 | iic1_pins: iic1 { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 396 | groups = "iic1"; |
| 397 | function = "iic1"; |
Simon Horman | d90bf60 | 2014-06-06 16:11:00 +0900 | [diff] [blame] | 398 | }; |
| 399 | |
Wolfram Sang | cb9a2b1 | 2014-07-10 12:50:56 +0200 | [diff] [blame] | 400 | iic2_pins: iic2 { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 401 | groups = "iic2"; |
| 402 | function = "iic2"; |
Simon Horman | d90bf60 | 2014-06-06 16:11:00 +0900 | [diff] [blame] | 403 | }; |
| 404 | |
Khiem Nguyen | 5179ffd | 2014-07-04 09:19:51 +0900 | [diff] [blame] | 405 | iic3_pins: iic3 { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 406 | groups = "iic3"; |
| 407 | function = "iic3"; |
Benoit Cousson | 05f72e0 | 2014-06-03 21:02:12 +0900 | [diff] [blame] | 408 | }; |
Ben Dooks | d858466 | 2014-06-24 22:02:21 +0400 | [diff] [blame] | 409 | |
Yoshihiro Shimoda | e03074a | 2014-10-24 19:44:34 +0900 | [diff] [blame] | 410 | hsusb_pins: hsusb { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 411 | groups = "usb0_ovc_vbus"; |
| 412 | function = "usb0"; |
Yoshihiro Shimoda | e03074a | 2014-10-24 19:44:34 +0900 | [diff] [blame] | 413 | }; |
| 414 | |
Ben Dooks | d858466 | 2014-06-24 22:02:21 +0400 | [diff] [blame] | 415 | usb0_pins: usb0 { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 416 | groups = "usb0"; |
| 417 | function = "usb0"; |
Ben Dooks | d858466 | 2014-06-24 22:02:21 +0400 | [diff] [blame] | 418 | }; |
| 419 | |
| 420 | usb1_pins: usb1 { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 421 | groups = "usb1"; |
| 422 | function = "usb1"; |
Ben Dooks | d858466 | 2014-06-24 22:02:21 +0400 | [diff] [blame] | 423 | }; |
| 424 | |
| 425 | usb2_pins: usb2 { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 426 | groups = "usb2"; |
| 427 | function = "usb2"; |
Ben Dooks | d858466 | 2014-06-24 22:02:21 +0400 | [diff] [blame] | 428 | }; |
Ben Dooks | d594c97 | 2014-08-13 00:18:26 +0400 | [diff] [blame] | 429 | |
| 430 | vin1_pins: vin { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 431 | groups = "vin1_data8", "vin1_clk"; |
| 432 | function = "vin1"; |
Ben Dooks | d594c97 | 2014-08-13 00:18:26 +0400 | [diff] [blame] | 433 | }; |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 434 | |
| 435 | sound_pins: sound { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 436 | groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data"; |
| 437 | function = "ssi"; |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 438 | }; |
| 439 | |
| 440 | sound_clk_pins: sound_clk { |
Simon Horman | 2ffc224f | 2016-03-16 10:03:09 +0900 | [diff] [blame] | 441 | groups = "audio_clk_a"; |
| 442 | function = "audio_clk"; |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 443 | }; |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 444 | }; |
| 445 | |
Sergei Shtylyov | da4ea95 | 2014-02-20 02:22:31 +0300 | [diff] [blame] | 446 | ðer { |
| 447 | pinctrl-0 = <ðer_pins &phy1_pins>; |
| 448 | pinctrl-names = "default"; |
| 449 | |
| 450 | phy-handle = <&phy1>; |
| 451 | renesas,ether-link-active-low; |
Geert Uytterhoeven | fd7a8cb | 2014-12-09 12:25:01 +0100 | [diff] [blame] | 452 | status = "okay"; |
Sergei Shtylyov | da4ea95 | 2014-02-20 02:22:31 +0300 | [diff] [blame] | 453 | |
| 454 | phy1: ethernet-phy@1 { |
| 455 | reg = <1>; |
| 456 | interrupt-parent = <&irqc0>; |
| 457 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
Simon Horman | 1c47a6a | 2014-04-08 09:21:35 +0900 | [diff] [blame] | 458 | micrel,led-mode = <1>; |
Sergei Shtylyov | da4ea95 | 2014-02-20 02:22:31 +0300 | [diff] [blame] | 459 | }; |
| 460 | }; |
| 461 | |
Laurent Pinchart | 247fd5e | 2014-07-09 15:12:41 +0200 | [diff] [blame] | 462 | &cmt0 { |
Geert Uytterhoeven | fd7a8cb | 2014-12-09 12:25:01 +0100 | [diff] [blame] | 463 | status = "okay"; |
Laurent Pinchart | 247fd5e | 2014-07-09 15:12:41 +0200 | [diff] [blame] | 464 | }; |
| 465 | |
Laurent Pinchart | 39fa511 | 2013-12-11 15:13:47 +0100 | [diff] [blame] | 466 | &mmcif1 { |
| 467 | pinctrl-0 = <&mmc1_pins>; |
| 468 | pinctrl-names = "default"; |
| 469 | |
| 470 | vmmc-supply = <&fixedregulator3v3>; |
| 471 | bus-width = <8>; |
| 472 | non-removable; |
| 473 | status = "okay"; |
Magnus Damm | 3cc828f | 2013-03-29 17:49:37 +0900 | [diff] [blame] | 474 | }; |
Valentine Barshak | c6181b9 | 2014-01-14 21:05:31 +0400 | [diff] [blame] | 475 | |
| 476 | &sata1 { |
| 477 | status = "okay"; |
| 478 | }; |
Geert Uytterhoeven | 9fe7c4f | 2014-02-10 11:47:30 +0100 | [diff] [blame] | 479 | |
Geert Uytterhoeven | fad6d45 | 2014-02-25 11:30:13 +0100 | [diff] [blame] | 480 | &qspi { |
Geert Uytterhoeven | 9fe7c4f | 2014-02-10 11:47:30 +0100 | [diff] [blame] | 481 | pinctrl-0 = <&qspi_pins>; |
| 482 | pinctrl-names = "default"; |
| 483 | |
| 484 | status = "okay"; |
| 485 | |
| 486 | flash: flash@0 { |
Geert Uytterhoeven | 755185b | 2015-05-20 20:16:52 +0200 | [diff] [blame] | 487 | compatible = "spansion,s25fl512s", "jedec,spi-nor"; |
Geert Uytterhoeven | 9fe7c4f | 2014-02-10 11:47:30 +0100 | [diff] [blame] | 488 | reg = <0>; |
| 489 | spi-max-frequency = <30000000>; |
Geert Uytterhoeven | 9909d2c | 2014-04-14 19:36:00 +0200 | [diff] [blame] | 490 | spi-tx-bus-width = <4>; |
| 491 | spi-rx-bus-width = <4>; |
Hisashi Nakamura | cbf4116 | 2014-12-10 11:30:27 +0900 | [diff] [blame] | 492 | spi-cpha; |
| 493 | spi-cpol; |
Geert Uytterhoeven | 9fe7c4f | 2014-02-10 11:47:30 +0100 | [diff] [blame] | 494 | m25p,fast-read; |
| 495 | |
Geert Uytterhoeven | f58bac7 | 2015-11-20 11:38:53 -0800 | [diff] [blame] | 496 | partitions { |
Geert Uytterhoeven | b88ddbd | 2015-12-21 11:33:48 +0100 | [diff] [blame] | 497 | compatible = "fixed-partitions"; |
Geert Uytterhoeven | f58bac7 | 2015-11-20 11:38:53 -0800 | [diff] [blame] | 498 | #address-cells = <1>; |
| 499 | #size-cells = <1>; |
| 500 | |
| 501 | partition@0 { |
| 502 | label = "loader"; |
| 503 | reg = <0x00000000 0x00040000>; |
| 504 | read-only; |
| 505 | }; |
| 506 | partition@40000 { |
| 507 | label = "user"; |
| 508 | reg = <0x00040000 0x00400000>; |
| 509 | read-only; |
| 510 | }; |
| 511 | partition@440000 { |
| 512 | label = "flash"; |
| 513 | reg = <0x00440000 0x03bc0000>; |
| 514 | }; |
Geert Uytterhoeven | 9fe7c4f | 2014-02-10 11:47:30 +0100 | [diff] [blame] | 515 | }; |
| 516 | }; |
| 517 | }; |
Kuninori Morimoto | c611994 | 2014-02-12 21:43:19 -0800 | [diff] [blame] | 518 | |
Ulrich Hecht | 430d7ba | 2015-11-13 17:22:23 +0100 | [diff] [blame] | 519 | &scif0 { |
| 520 | pinctrl-0 = <&scif0_pins>; |
Laurent Pinchart | 4e9c487 | 2014-04-30 02:31:45 +0200 | [diff] [blame] | 521 | pinctrl-names = "default"; |
| 522 | |
| 523 | status = "okay"; |
| 524 | }; |
| 525 | |
Wolfram Sang | 7c05589 | 2014-09-16 18:10:37 +0200 | [diff] [blame] | 526 | &scifa1 { |
| 527 | pinctrl-0 = <&scifa1_pins>; |
Laurent Pinchart | 4e9c487 | 2014-04-30 02:31:45 +0200 | [diff] [blame] | 528 | pinctrl-names = "default"; |
| 529 | |
| 530 | status = "okay"; |
| 531 | }; |
| 532 | |
Geert Uytterhoeven | 1781460 | 2016-01-29 11:17:22 +0100 | [diff] [blame] | 533 | &scif_clk { |
| 534 | clock-frequency = <14745600>; |
| 535 | status = "okay"; |
| 536 | }; |
| 537 | |
Geert Uytterhoeven | b0403b9 | 2014-02-25 11:30:17 +0100 | [diff] [blame] | 538 | &msiof1 { |
| 539 | pinctrl-0 = <&msiof1_pins>; |
| 540 | pinctrl-names = "default"; |
| 541 | |
| 542 | status = "okay"; |
| 543 | |
| 544 | pmic: pmic@0 { |
| 545 | compatible = "renesas,r2a11302ft"; |
| 546 | reg = <0>; |
| 547 | spi-max-frequency = <6000000>; |
| 548 | spi-cpol; |
| 549 | spi-cpha; |
| 550 | }; |
Geert Uytterhoeven | b0403b9 | 2014-02-25 11:30:17 +0100 | [diff] [blame] | 551 | }; |
| 552 | |
Kuninori Morimoto | c611994 | 2014-02-12 21:43:19 -0800 | [diff] [blame] | 553 | &sdhi0 { |
| 554 | pinctrl-0 = <&sdhi0_pins>; |
Wolfram Sang | 1ca7969 | 2016-04-01 17:44:39 +0200 | [diff] [blame^] | 555 | pinctrl-1 = <&sdhi0_pins_uhs>; |
| 556 | pinctrl-names = "default", "state_uhs"; |
Kuninori Morimoto | c611994 | 2014-02-12 21:43:19 -0800 | [diff] [blame] | 557 | |
| 558 | vmmc-supply = <&vcc_sdhi0>; |
| 559 | vqmmc-supply = <&vccq_sdhi0>; |
| 560 | cd-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>; |
Wolfram Sang | 1ca7969 | 2016-04-01 17:44:39 +0200 | [diff] [blame^] | 561 | sd-uhs-sdr50; |
Kuninori Morimoto | c611994 | 2014-02-12 21:43:19 -0800 | [diff] [blame] | 562 | status = "okay"; |
| 563 | }; |
| 564 | |
| 565 | &sdhi2 { |
| 566 | pinctrl-0 = <&sdhi2_pins>; |
Wolfram Sang | 1ca7969 | 2016-04-01 17:44:39 +0200 | [diff] [blame^] | 567 | pinctrl-1 = <&sdhi2_pins_uhs>; |
| 568 | pinctrl-names = "default", "state_uhs"; |
Kuninori Morimoto | c611994 | 2014-02-12 21:43:19 -0800 | [diff] [blame] | 569 | |
| 570 | vmmc-supply = <&vcc_sdhi2>; |
| 571 | vqmmc-supply = <&vccq_sdhi2>; |
| 572 | cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>; |
Wolfram Sang | 1ca7969 | 2016-04-01 17:44:39 +0200 | [diff] [blame^] | 573 | sd-uhs-sdr50; |
Kuninori Morimoto | c611994 | 2014-02-12 21:43:19 -0800 | [diff] [blame] | 574 | status = "okay"; |
| 575 | }; |
Benoit Cousson | 05f72e0 | 2014-06-03 21:02:12 +0900 | [diff] [blame] | 576 | |
Benoit Cousson | b989e13 | 2014-06-03 21:02:24 +0900 | [diff] [blame] | 577 | &cpu0 { |
| 578 | cpu0-supply = <&vdd_dvfs>; |
| 579 | }; |
Ben Dooks | e489c2a | 2014-02-12 17:04:33 +0000 | [diff] [blame] | 580 | |
Wolfram Sang | 880cb57 | 2016-02-15 13:57:49 +0100 | [diff] [blame] | 581 | &i2c0 { |
| 582 | pinctrl-0 = <&i2c0_pins>; |
| 583 | pinctrl-names = "i2c-exio"; |
| 584 | }; |
| 585 | |
Wolfram Sang | cb9a2b1 | 2014-07-10 12:50:56 +0200 | [diff] [blame] | 586 | &iic0 { |
Wolfram Sang | 535118c | 2015-09-09 19:48:19 +0200 | [diff] [blame] | 587 | pinctrl-0 = <&iic0_pins>; |
Wolfram Sang | 880cb57 | 2016-02-15 13:57:49 +0100 | [diff] [blame] | 588 | pinctrl-names = "i2c-exio"; |
Ben Dooks | e489c2a | 2014-02-12 17:04:33 +0000 | [diff] [blame] | 589 | }; |
| 590 | |
Wolfram Sang | cb9a2b1 | 2014-07-10 12:50:56 +0200 | [diff] [blame] | 591 | &iic1 { |
Geert Uytterhoeven | fd7a8cb | 2014-12-09 12:25:01 +0100 | [diff] [blame] | 592 | status = "okay"; |
Wolfram Sang | cb9a2b1 | 2014-07-10 12:50:56 +0200 | [diff] [blame] | 593 | pinctrl-0 = <&iic1_pins>; |
Ben Dooks | e1a2c4e | 2014-02-12 17:04:34 +0000 | [diff] [blame] | 594 | pinctrl-names = "default"; |
Ben Dooks | e489c2a | 2014-02-12 17:04:33 +0000 | [diff] [blame] | 595 | }; |
| 596 | |
Wolfram Sang | cb9a2b1 | 2014-07-10 12:50:56 +0200 | [diff] [blame] | 597 | &iic2 { |
Geert Uytterhoeven | fd7a8cb | 2014-12-09 12:25:01 +0100 | [diff] [blame] | 598 | status = "okay"; |
Wolfram Sang | cb9a2b1 | 2014-07-10 12:50:56 +0200 | [diff] [blame] | 599 | pinctrl-0 = <&iic2_pins>; |
Ben Dooks | e1a2c4e | 2014-02-12 17:04:34 +0000 | [diff] [blame] | 600 | pinctrl-names = "default"; |
Ben Dooks | d594c97 | 2014-08-13 00:18:26 +0400 | [diff] [blame] | 601 | |
Kuninori Morimoto | 177d8be | 2014-11-03 17:47:46 -0800 | [diff] [blame] | 602 | clock-frequency = <100000>; |
| 603 | |
Geert Uytterhoeven | d22b168 | 2015-04-28 12:29:22 +0200 | [diff] [blame] | 604 | ak4643: codec@12 { |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 605 | compatible = "asahi-kasei,ak4643"; |
| 606 | #sound-dai-cells = <0>; |
| 607 | reg = <0x12>; |
| 608 | }; |
| 609 | |
Ben Dooks | d594c97 | 2014-08-13 00:18:26 +0400 | [diff] [blame] | 610 | composite-in@20 { |
| 611 | compatible = "adi,adv7180"; |
| 612 | reg = <0x20>; |
| 613 | remote = <&vin1>; |
| 614 | |
| 615 | port { |
| 616 | adv7180: endpoint { |
| 617 | bus-width = <8>; |
| 618 | remote-endpoint = <&vin1ep0>; |
| 619 | }; |
| 620 | }; |
| 621 | }; |
Laurent Pinchart | fd25cdd | 2014-12-11 01:42:11 +0200 | [diff] [blame] | 622 | |
| 623 | hdmi@39 { |
| 624 | compatible = "adi,adv7511w"; |
| 625 | reg = <0x39>; |
| 626 | interrupt-parent = <&gpio1>; |
Laurent Pinchart | 850346e | 2015-05-06 07:05:31 +0300 | [diff] [blame] | 627 | interrupts = <15 IRQ_TYPE_LEVEL_LOW>; |
Laurent Pinchart | fd25cdd | 2014-12-11 01:42:11 +0200 | [diff] [blame] | 628 | |
| 629 | adi,input-depth = <8>; |
| 630 | adi,input-colorspace = "rgb"; |
| 631 | adi,input-clock = "1x"; |
| 632 | adi,input-style = <1>; |
| 633 | adi,input-justification = "evenly"; |
| 634 | |
| 635 | ports { |
| 636 | #address-cells = <1>; |
| 637 | #size-cells = <0>; |
| 638 | |
| 639 | port@0 { |
| 640 | reg = <0>; |
| 641 | adv7511_in: endpoint { |
| 642 | remote-endpoint = <&du_out_lvds0>; |
| 643 | }; |
| 644 | }; |
| 645 | |
| 646 | port@1 { |
| 647 | reg = <1>; |
| 648 | adv7511_out: endpoint { |
| 649 | remote-endpoint = <&hdmi_con>; |
| 650 | }; |
| 651 | }; |
| 652 | }; |
| 653 | }; |
Ben Dooks | e489c2a | 2014-02-12 17:04:33 +0000 | [diff] [blame] | 654 | }; |
| 655 | |
Khiem Nguyen | 5179ffd | 2014-07-04 09:19:51 +0900 | [diff] [blame] | 656 | &iic3 { |
Simon Horman | aca4ec4 | 2014-06-09 11:09:44 +0900 | [diff] [blame] | 657 | pinctrl-names = "default"; |
Khiem Nguyen | 5179ffd | 2014-07-04 09:19:51 +0900 | [diff] [blame] | 658 | pinctrl-0 = <&iic3_pins>; |
Simon Horman | aca4ec4 | 2014-06-09 11:09:44 +0900 | [diff] [blame] | 659 | status = "okay"; |
| 660 | |
Geert Uytterhoeven | 46dd8a8 | 2015-03-09 21:06:57 +0100 | [diff] [blame] | 661 | pmic@58 { |
| 662 | compatible = "dlg,da9063"; |
| 663 | reg = <0x58>; |
| 664 | interrupt-parent = <&irqc0>; |
| 665 | interrupts = <2 IRQ_TYPE_LEVEL_LOW>; |
| 666 | interrupt-controller; |
| 667 | |
| 668 | rtc { |
| 669 | compatible = "dlg,da9063-rtc"; |
| 670 | }; |
| 671 | |
| 672 | wdt { |
| 673 | compatible = "dlg,da9063-watchdog"; |
| 674 | }; |
| 675 | }; |
| 676 | |
Simon Horman | aca4ec4 | 2014-06-09 11:09:44 +0900 | [diff] [blame] | 677 | vdd_dvfs: regulator@68 { |
Steve Twiss | bd597f4 | 2014-08-22 15:26:55 +0100 | [diff] [blame] | 678 | compatible = "dlg,da9210"; |
Simon Horman | aca4ec4 | 2014-06-09 11:09:44 +0900 | [diff] [blame] | 679 | reg = <0x68>; |
Geert Uytterhoeven | ceb7747 | 2015-03-09 21:06:56 +0100 | [diff] [blame] | 680 | interrupt-parent = <&irqc0>; |
| 681 | interrupts = <2 IRQ_TYPE_LEVEL_LOW>; |
Simon Horman | aca4ec4 | 2014-06-09 11:09:44 +0900 | [diff] [blame] | 682 | |
| 683 | regulator-min-microvolt = <1000000>; |
| 684 | regulator-max-microvolt = <1000000>; |
| 685 | regulator-boot-on; |
| 686 | regulator-always-on; |
| 687 | }; |
Ben Dooks | e489c2a | 2014-02-12 17:04:33 +0000 | [diff] [blame] | 688 | }; |
Ben Dooks | d858466 | 2014-06-24 22:02:21 +0400 | [diff] [blame] | 689 | |
| 690 | &pci0 { |
| 691 | status = "okay"; |
| 692 | pinctrl-0 = <&usb0_pins>; |
| 693 | pinctrl-names = "default"; |
| 694 | }; |
| 695 | |
| 696 | &pci1 { |
| 697 | status = "okay"; |
| 698 | pinctrl-0 = <&usb1_pins>; |
| 699 | pinctrl-names = "default"; |
| 700 | }; |
| 701 | |
Yoshihiro Shimoda | 37f7c1b | 2014-10-24 19:41:47 +0900 | [diff] [blame] | 702 | &xhci { |
| 703 | status = "okay"; |
| 704 | pinctrl-0 = <&usb2_pins>; |
| 705 | pinctrl-names = "default"; |
| 706 | }; |
| 707 | |
Ben Dooks | d858466 | 2014-06-24 22:02:21 +0400 | [diff] [blame] | 708 | &pci2 { |
| 709 | status = "okay"; |
| 710 | pinctrl-0 = <&usb2_pins>; |
| 711 | pinctrl-names = "default"; |
| 712 | }; |
Ben Dooks | d594c97 | 2014-08-13 00:18:26 +0400 | [diff] [blame] | 713 | |
Yoshihiro Shimoda | e03074a | 2014-10-24 19:44:34 +0900 | [diff] [blame] | 714 | &hsusb { |
| 715 | status = "okay"; |
| 716 | pinctrl-0 = <&hsusb_pins>; |
| 717 | pinctrl-names = "default"; |
| 718 | renesas,enable-gpio = <&gpio5 18 GPIO_ACTIVE_HIGH>; |
| 719 | }; |
| 720 | |
Sergei Shtylyov | 6742caf | 2014-09-27 01:01:35 +0400 | [diff] [blame] | 721 | &usbphy { |
| 722 | status = "okay"; |
| 723 | }; |
| 724 | |
Ben Dooks | d594c97 | 2014-08-13 00:18:26 +0400 | [diff] [blame] | 725 | /* composite video input */ |
| 726 | &vin1 { |
| 727 | pinctrl-0 = <&vin1_pins>; |
| 728 | pinctrl-names = "default"; |
| 729 | |
Geert Uytterhoeven | fd7a8cb | 2014-12-09 12:25:01 +0100 | [diff] [blame] | 730 | status = "okay"; |
Ben Dooks | d594c97 | 2014-08-13 00:18:26 +0400 | [diff] [blame] | 731 | |
| 732 | port { |
| 733 | #address-cells = <1>; |
| 734 | #size-cells = <0>; |
| 735 | |
| 736 | vin1ep0: endpoint { |
| 737 | remote-endpoint = <&adv7180>; |
| 738 | bus-width = <8>; |
| 739 | }; |
| 740 | }; |
| 741 | }; |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 742 | |
| 743 | &rcar_sound { |
| 744 | pinctrl-0 = <&sound_pins &sound_clk_pins>; |
| 745 | pinctrl-names = "default"; |
| 746 | |
Kuninori Morimoto | ad63241 | 2014-12-17 06:11:52 +0000 | [diff] [blame] | 747 | /* Single DAI */ |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 748 | #sound-dai-cells = <0>; |
| 749 | |
| 750 | status = "okay"; |
| 751 | |
| 752 | rcar_sound,dai { |
| 753 | dai0 { |
Kuninori Morimoto | e110c54 | 2014-11-03 17:48:38 -0800 | [diff] [blame] | 754 | playback = <&ssi0 &src2 &dvc0>; |
| 755 | capture = <&ssi1 &src3 &dvc1>; |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 756 | }; |
| 757 | }; |
| 758 | }; |
| 759 | |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 760 | &ssi1 { |
Kuninori Morimoto | 8ea7a44 | 2014-11-03 17:47:56 -0800 | [diff] [blame] | 761 | shared-pin; |
| 762 | }; |