Hisashi Nakamura | 1f52c65 | 2013-09-04 12:46:49 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the Koelsch board |
| 3 | * |
| 4 | * Copyright (C) 2013 Renesas Electronics Corporation |
Sergei Shtylyov | 08e8f0f | 2014-02-20 02:28:59 +0300 | [diff] [blame] | 5 | * Copyright (C) 2013-2014 Renesas Solutions Corp. |
| 6 | * Copyright (C) 2014 Cogent Embedded, Inc. |
Hisashi Nakamura | 1f52c65 | 2013-09-04 12:46:49 +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 | |
| 13 | /dts-v1/; |
Laurent Pinchart | 31c46cb | 2013-11-09 13:23:53 +0100 | [diff] [blame] | 14 | #include "r8a7791.dtsi" |
Laurent Pinchart | f8e2535 | 2013-12-11 15:13:48 +0100 | [diff] [blame] | 15 | #include <dt-bindings/gpio/gpio.h> |
Magnus Damm | 7f168b1 | 2014-03-18 22:01:17 +0900 | [diff] [blame] | 16 | #include <dt-bindings/input/input.h> |
Hisashi Nakamura | 1f52c65 | 2013-09-04 12:46:49 +0900 | [diff] [blame] | 17 | |
| 18 | / { |
| 19 | model = "Koelsch"; |
| 20 | compatible = "renesas,koelsch", "renesas,r8a7791"; |
| 21 | |
Laurent Pinchart | 5ba55fa | 2014-04-30 02:31:46 +0200 | [diff] [blame] | 22 | aliases { |
| 23 | serial6 = &scif0; |
| 24 | serial7 = &scif1; |
| 25 | }; |
| 26 | |
Hisashi Nakamura | 1f52c65 | 2013-09-04 12:46:49 +0900 | [diff] [blame] | 27 | chosen { |
| 28 | bootargs = "console=ttySC6,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp"; |
Geert Uytterhoeven | 17323b3 | 2014-10-03 17:11:42 +0200 | [diff] [blame] | 29 | stdout-path = &scif0; |
Hisashi Nakamura | 1f52c65 | 2013-09-04 12:46:49 +0900 | [diff] [blame] | 30 | }; |
| 31 | |
| 32 | memory@40000000 { |
| 33 | device_type = "memory"; |
Takashi Yoshii | 4cd1bad | 2013-12-22 18:27:23 +0900 | [diff] [blame] | 34 | reg = <0 0x40000000 0 0x40000000>; |
| 35 | }; |
| 36 | |
| 37 | memory@200000000 { |
| 38 | device_type = "memory"; |
| 39 | reg = <2 0x00000000 0 0x40000000>; |
Hisashi Nakamura | 1f52c65 | 2013-09-04 12:46:49 +0900 | [diff] [blame] | 40 | }; |
| 41 | |
| 42 | lbsc { |
| 43 | #address-cells = <1>; |
| 44 | #size-cells = <1>; |
| 45 | }; |
Laurent Pinchart | f8e2535 | 2013-12-11 15:13:48 +0100 | [diff] [blame] | 46 | |
Laurent Pinchart | aff5274 | 2013-12-19 16:28:42 +0100 | [diff] [blame] | 47 | gpio-keys { |
| 48 | compatible = "gpio-keys"; |
| 49 | |
Magnus Damm | 7f168b1 | 2014-03-18 22:01:17 +0900 | [diff] [blame] | 50 | key-1 { |
| 51 | gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; |
| 52 | linux,code = <KEY_1>; |
| 53 | label = "SW2-1"; |
| 54 | gpio-key,wakeup; |
| 55 | debounce-interval = <20>; |
| 56 | }; |
| 57 | key-2 { |
| 58 | gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; |
| 59 | linux,code = <KEY_2>; |
| 60 | label = "SW2-2"; |
| 61 | gpio-key,wakeup; |
| 62 | debounce-interval = <20>; |
| 63 | }; |
| 64 | key-3 { |
| 65 | gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; |
| 66 | linux,code = <KEY_3>; |
| 67 | label = "SW2-3"; |
| 68 | gpio-key,wakeup; |
| 69 | debounce-interval = <20>; |
| 70 | }; |
| 71 | key-4 { |
| 72 | gpios = <&gpio5 3 GPIO_ACTIVE_LOW>; |
| 73 | linux,code = <KEY_4>; |
| 74 | label = "SW2-4"; |
| 75 | gpio-key,wakeup; |
| 76 | debounce-interval = <20>; |
| 77 | }; |
Laurent Pinchart | aff5274 | 2013-12-19 16:28:42 +0100 | [diff] [blame] | 78 | key-a { |
| 79 | gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; |
Magnus Damm | 7f168b1 | 2014-03-18 22:01:17 +0900 | [diff] [blame] | 80 | linux,code = <KEY_A>; |
Laurent Pinchart | aff5274 | 2013-12-19 16:28:42 +0100 | [diff] [blame] | 81 | label = "SW30"; |
| 82 | gpio-key,wakeup; |
| 83 | debounce-interval = <20>; |
| 84 | }; |
| 85 | key-b { |
| 86 | gpios = <&gpio7 1 GPIO_ACTIVE_LOW>; |
Magnus Damm | 7f168b1 | 2014-03-18 22:01:17 +0900 | [diff] [blame] | 87 | linux,code = <KEY_B>; |
Laurent Pinchart | aff5274 | 2013-12-19 16:28:42 +0100 | [diff] [blame] | 88 | label = "SW31"; |
| 89 | gpio-key,wakeup; |
| 90 | debounce-interval = <20>; |
| 91 | }; |
| 92 | key-c { |
| 93 | gpios = <&gpio7 2 GPIO_ACTIVE_LOW>; |
Magnus Damm | 7f168b1 | 2014-03-18 22:01:17 +0900 | [diff] [blame] | 94 | linux,code = <KEY_C>; |
Laurent Pinchart | aff5274 | 2013-12-19 16:28:42 +0100 | [diff] [blame] | 95 | label = "SW32"; |
| 96 | gpio-key,wakeup; |
| 97 | debounce-interval = <20>; |
| 98 | }; |
| 99 | key-d { |
| 100 | gpios = <&gpio7 3 GPIO_ACTIVE_LOW>; |
Magnus Damm | 7f168b1 | 2014-03-18 22:01:17 +0900 | [diff] [blame] | 101 | linux,code = <KEY_D>; |
Laurent Pinchart | aff5274 | 2013-12-19 16:28:42 +0100 | [diff] [blame] | 102 | label = "SW33"; |
| 103 | gpio-key,wakeup; |
| 104 | debounce-interval = <20>; |
| 105 | }; |
| 106 | key-e { |
| 107 | gpios = <&gpio7 4 GPIO_ACTIVE_LOW>; |
Magnus Damm | 7f168b1 | 2014-03-18 22:01:17 +0900 | [diff] [blame] | 108 | linux,code = <KEY_E>; |
Laurent Pinchart | aff5274 | 2013-12-19 16:28:42 +0100 | [diff] [blame] | 109 | label = "SW34"; |
| 110 | gpio-key,wakeup; |
| 111 | debounce-interval = <20>; |
| 112 | }; |
| 113 | key-f { |
| 114 | gpios = <&gpio7 5 GPIO_ACTIVE_LOW>; |
Magnus Damm | 7f168b1 | 2014-03-18 22:01:17 +0900 | [diff] [blame] | 115 | linux,code = <KEY_F>; |
Laurent Pinchart | aff5274 | 2013-12-19 16:28:42 +0100 | [diff] [blame] | 116 | label = "SW35"; |
| 117 | gpio-key,wakeup; |
| 118 | debounce-interval = <20>; |
| 119 | }; |
| 120 | key-g { |
| 121 | gpios = <&gpio7 6 GPIO_ACTIVE_LOW>; |
Magnus Damm | 7f168b1 | 2014-03-18 22:01:17 +0900 | [diff] [blame] | 122 | linux,code = <KEY_G>; |
Laurent Pinchart | aff5274 | 2013-12-19 16:28:42 +0100 | [diff] [blame] | 123 | label = "SW36"; |
| 124 | gpio-key,wakeup; |
| 125 | debounce-interval = <20>; |
| 126 | }; |
| 127 | }; |
| 128 | |
Laurent Pinchart | f8e2535 | 2013-12-11 15:13:48 +0100 | [diff] [blame] | 129 | leds { |
| 130 | compatible = "gpio-leds"; |
| 131 | led6 { |
| 132 | gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>; |
| 133 | }; |
| 134 | led7 { |
| 135 | gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>; |
| 136 | }; |
| 137 | led8 { |
| 138 | gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; |
| 139 | }; |
| 140 | }; |
Magnus Damm | 2c60a7d | 2014-02-12 18:54:04 +0900 | [diff] [blame] | 141 | |
| 142 | vcc_sdhi0: regulator@0 { |
| 143 | compatible = "regulator-fixed"; |
| 144 | |
| 145 | regulator-name = "SDHI0 Vcc"; |
| 146 | regulator-min-microvolt = <3300000>; |
| 147 | regulator-max-microvolt = <3300000>; |
| 148 | |
| 149 | gpio = <&gpio7 17 GPIO_ACTIVE_HIGH>; |
| 150 | enable-active-high; |
| 151 | }; |
| 152 | |
| 153 | vccq_sdhi0: regulator@1 { |
| 154 | compatible = "regulator-gpio"; |
| 155 | |
| 156 | regulator-name = "SDHI0 VccQ"; |
| 157 | regulator-min-microvolt = <1800000>; |
| 158 | regulator-max-microvolt = <3300000>; |
| 159 | |
| 160 | gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>; |
| 161 | gpios-states = <1>; |
| 162 | states = <3300000 1 |
| 163 | 1800000 0>; |
| 164 | }; |
| 165 | |
| 166 | vcc_sdhi1: regulator@2 { |
| 167 | compatible = "regulator-fixed"; |
| 168 | |
| 169 | regulator-name = "SDHI1 Vcc"; |
| 170 | regulator-min-microvolt = <3300000>; |
| 171 | regulator-max-microvolt = <3300000>; |
| 172 | |
| 173 | gpio = <&gpio7 18 GPIO_ACTIVE_HIGH>; |
| 174 | enable-active-high; |
| 175 | }; |
| 176 | |
| 177 | vccq_sdhi1: regulator@3 { |
| 178 | compatible = "regulator-gpio"; |
| 179 | |
| 180 | regulator-name = "SDHI1 VccQ"; |
| 181 | regulator-min-microvolt = <1800000>; |
| 182 | regulator-max-microvolt = <3300000>; |
| 183 | |
| 184 | gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>; |
| 185 | gpios-states = <1>; |
| 186 | states = <3300000 1 |
| 187 | 1800000 0>; |
| 188 | }; |
| 189 | |
| 190 | vcc_sdhi2: regulator@4 { |
| 191 | compatible = "regulator-fixed"; |
| 192 | |
| 193 | regulator-name = "SDHI2 Vcc"; |
| 194 | regulator-min-microvolt = <3300000>; |
| 195 | regulator-max-microvolt = <3300000>; |
| 196 | |
| 197 | gpio = <&gpio7 19 GPIO_ACTIVE_HIGH>; |
| 198 | enable-active-high; |
| 199 | }; |
| 200 | |
| 201 | vccq_sdhi2: regulator@5 { |
| 202 | compatible = "regulator-gpio"; |
| 203 | |
| 204 | regulator-name = "SDHI2 VccQ"; |
| 205 | regulator-min-microvolt = <1800000>; |
| 206 | regulator-max-microvolt = <3300000>; |
| 207 | |
| 208 | gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; |
| 209 | gpios-states = <1>; |
| 210 | states = <3300000 1 |
| 211 | 1800000 0>; |
| 212 | }; |
Laurent Pinchart | f8e2535 | 2013-12-11 15:13:48 +0100 | [diff] [blame] | 213 | }; |
| 214 | |
Laurent Pinchart | 0ee56d4 | 2014-01-21 16:02:54 +0100 | [diff] [blame] | 215 | &du { |
| 216 | pinctrl-0 = <&du_pins>; |
| 217 | pinctrl-names = "default"; |
| 218 | status = "okay"; |
| 219 | |
| 220 | ports { |
| 221 | port@1 { |
| 222 | lvds_connector: endpoint { |
| 223 | }; |
| 224 | }; |
| 225 | }; |
| 226 | }; |
| 227 | |
Laurent Pinchart | fcf0c72 | 2013-12-11 15:13:50 +0100 | [diff] [blame] | 228 | &extal_clk { |
| 229 | clock-frequency = <20000000>; |
| 230 | }; |
| 231 | |
Laurent Pinchart | f8e2535 | 2013-12-11 15:13:48 +0100 | [diff] [blame] | 232 | &pfc { |
Wolfram Sang | e6a4c00 | 2014-03-10 12:26:59 +0100 | [diff] [blame] | 233 | i2c2_pins: i2c2 { |
Wolfram Sang | 38c5351 | 2014-02-17 11:44:42 +0100 | [diff] [blame] | 234 | renesas,groups = "i2c2"; |
| 235 | renesas,function = "i2c2"; |
| 236 | }; |
| 237 | |
Laurent Pinchart | afba941 | 2014-02-16 22:32:01 +0100 | [diff] [blame] | 238 | du_pins: du { |
| 239 | renesas,groups = "du_rgb666", "du_sync", "du_clk_out_0"; |
| 240 | renesas,function = "du"; |
| 241 | }; |
| 242 | |
Laurent Pinchart | f8e2535 | 2013-12-11 15:13:48 +0100 | [diff] [blame] | 243 | scif0_pins: serial0 { |
| 244 | renesas,groups = "scif0_data_d"; |
| 245 | renesas,function = "scif0"; |
| 246 | }; |
| 247 | |
| 248 | scif1_pins: serial1 { |
| 249 | renesas,groups = "scif1_data_d"; |
| 250 | renesas,function = "scif1"; |
| 251 | }; |
Geert Uytterhoeven | e02ee51 | 2014-02-04 16:24:04 +0100 | [diff] [blame] | 252 | |
Sergei Shtylyov | 08e8f0f | 2014-02-20 02:28:59 +0300 | [diff] [blame] | 253 | ether_pins: ether { |
| 254 | renesas,groups = "eth_link", "eth_mdio", "eth_rmii"; |
| 255 | renesas,function = "eth"; |
| 256 | }; |
| 257 | |
| 258 | phy1_pins: phy1 { |
| 259 | renesas,groups = "intc_irq0"; |
| 260 | renesas,function = "intc"; |
| 261 | }; |
| 262 | |
Magnus Damm | 2c60a7d | 2014-02-12 18:54:04 +0900 | [diff] [blame] | 263 | sdhi0_pins: sd0 { |
Magnus Damm | d5dda03 | 2014-04-14 19:13:21 +0900 | [diff] [blame] | 264 | renesas,groups = "sdhi0_data4", "sdhi0_ctrl"; |
Magnus Damm | 2c60a7d | 2014-02-12 18:54:04 +0900 | [diff] [blame] | 265 | renesas,function = "sdhi0"; |
| 266 | }; |
| 267 | |
| 268 | sdhi1_pins: sd1 { |
Magnus Damm | d5dda03 | 2014-04-14 19:13:21 +0900 | [diff] [blame] | 269 | renesas,groups = "sdhi1_data4", "sdhi1_ctrl"; |
Magnus Damm | 2c60a7d | 2014-02-12 18:54:04 +0900 | [diff] [blame] | 270 | renesas,function = "sdhi1"; |
| 271 | }; |
| 272 | |
| 273 | sdhi2_pins: sd2 { |
Magnus Damm | d5dda03 | 2014-04-14 19:13:21 +0900 | [diff] [blame] | 274 | renesas,groups = "sdhi2_data4", "sdhi2_ctrl"; |
Magnus Damm | 2c60a7d | 2014-02-12 18:54:04 +0900 | [diff] [blame] | 275 | renesas,function = "sdhi2"; |
| 276 | }; |
| 277 | |
Geert Uytterhoeven | 6f3e4ee | 2014-02-25 11:30:14 +0100 | [diff] [blame] | 278 | qspi_pins: spi0 { |
Geert Uytterhoeven | e02ee51 | 2014-02-04 16:24:04 +0100 | [diff] [blame] | 279 | renesas,groups = "qspi_ctrl", "qspi_data4"; |
| 280 | renesas,function = "qspi"; |
| 281 | }; |
Geert Uytterhoeven | b16f05a | 2014-02-25 11:30:18 +0100 | [diff] [blame] | 282 | |
| 283 | msiof0_pins: spi1 { |
| 284 | renesas,groups = "msiof0_clk", "msiof0_sync", "msiof0_rx", |
| 285 | "msiof0_tx"; |
| 286 | renesas,function = "msiof0"; |
| 287 | }; |
Gaku Inami | 1d41f36 | 2014-06-03 21:02:59 +0900 | [diff] [blame] | 288 | |
Sergei Shtylyov | 7540aeb | 2014-06-24 22:11:44 +0400 | [diff] [blame] | 289 | usb0_pins: usb0 { |
| 290 | renesas,groups = "usb0"; |
| 291 | renesas,function = "usb0"; |
| 292 | }; |
| 293 | |
| 294 | usb1_pins: usb1 { |
| 295 | renesas,groups = "usb1"; |
| 296 | renesas,function = "usb1"; |
| 297 | }; |
sergei.shtylyov@cogentembedded.com | 2cf0881 | 2014-08-06 22:38:22 +0400 | [diff] [blame] | 298 | |
| 299 | vin1_pins: vin1 { |
| 300 | renesas,groups = "vin1_data8", "vin1_clk"; |
| 301 | renesas,function = "vin1"; |
| 302 | }; |
Hisashi Nakamura | 1f52c65 | 2013-09-04 12:46:49 +0900 | [diff] [blame] | 303 | }; |
Valentine Barshak | 760c277 | 2014-01-14 21:05:41 +0400 | [diff] [blame] | 304 | |
Sergei Shtylyov | 08e8f0f | 2014-02-20 02:28:59 +0300 | [diff] [blame] | 305 | ðer { |
| 306 | pinctrl-0 = <ðer_pins &phy1_pins>; |
| 307 | pinctrl-names = "default"; |
| 308 | |
| 309 | phy-handle = <&phy1>; |
| 310 | renesas,ether-link-active-low; |
| 311 | status = "ok"; |
| 312 | |
| 313 | phy1: ethernet-phy@1 { |
| 314 | reg = <1>; |
| 315 | interrupt-parent = <&irqc0>; |
| 316 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
Laurent Pinchart | 19f647c | 2014-03-18 19:04:48 +0100 | [diff] [blame] | 317 | micrel,led-mode = <1>; |
Sergei Shtylyov | 08e8f0f | 2014-02-20 02:28:59 +0300 | [diff] [blame] | 318 | }; |
| 319 | }; |
| 320 | |
Laurent Pinchart | 6a1d946 | 2014-07-09 15:12:42 +0200 | [diff] [blame] | 321 | &cmt0 { |
| 322 | status = "ok"; |
| 323 | }; |
| 324 | |
Valentine Barshak | 760c277 | 2014-01-14 21:05:41 +0400 | [diff] [blame] | 325 | &sata0 { |
| 326 | status = "okay"; |
| 327 | }; |
Geert Uytterhoeven | e02ee51 | 2014-02-04 16:24:04 +0100 | [diff] [blame] | 328 | |
Laurent Pinchart | 5ba55fa | 2014-04-30 02:31:46 +0200 | [diff] [blame] | 329 | &scif0 { |
| 330 | pinctrl-0 = <&scif0_pins>; |
| 331 | pinctrl-names = "default"; |
| 332 | |
| 333 | status = "okay"; |
| 334 | }; |
| 335 | |
| 336 | &scif1 { |
| 337 | pinctrl-0 = <&scif1_pins>; |
| 338 | pinctrl-names = "default"; |
| 339 | |
| 340 | status = "okay"; |
| 341 | }; |
| 342 | |
Magnus Damm | 2c60a7d | 2014-02-12 18:54:04 +0900 | [diff] [blame] | 343 | &sdhi0 { |
| 344 | pinctrl-0 = <&sdhi0_pins>; |
| 345 | pinctrl-names = "default"; |
| 346 | |
| 347 | vmmc-supply = <&vcc_sdhi0>; |
| 348 | vqmmc-supply = <&vccq_sdhi0>; |
| 349 | cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>; |
| 350 | wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; |
| 351 | status = "okay"; |
| 352 | }; |
| 353 | |
| 354 | &sdhi1 { |
| 355 | pinctrl-0 = <&sdhi1_pins>; |
| 356 | pinctrl-names = "default"; |
| 357 | |
| 358 | vmmc-supply = <&vcc_sdhi1>; |
| 359 | vqmmc-supply = <&vccq_sdhi1>; |
| 360 | cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>; |
| 361 | wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>; |
| 362 | status = "okay"; |
| 363 | }; |
| 364 | |
| 365 | &sdhi2 { |
| 366 | pinctrl-0 = <&sdhi2_pins>; |
| 367 | pinctrl-names = "default"; |
| 368 | |
| 369 | vmmc-supply = <&vcc_sdhi2>; |
| 370 | vqmmc-supply = <&vccq_sdhi2>; |
| 371 | cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>; |
| 372 | status = "okay"; |
| 373 | }; |
| 374 | |
Geert Uytterhoeven | 6f3e4ee | 2014-02-25 11:30:14 +0100 | [diff] [blame] | 375 | &qspi { |
Geert Uytterhoeven | e02ee51 | 2014-02-04 16:24:04 +0100 | [diff] [blame] | 376 | pinctrl-0 = <&qspi_pins>; |
| 377 | pinctrl-names = "default"; |
| 378 | |
| 379 | status = "okay"; |
| 380 | |
| 381 | flash: flash@0 { |
| 382 | #address-cells = <1>; |
| 383 | #size-cells = <1>; |
| 384 | compatible = "spansion,s25fl512s"; |
| 385 | reg = <0>; |
| 386 | spi-max-frequency = <30000000>; |
Geert Uytterhoeven | ed56083 | 2014-04-14 19:35:58 +0200 | [diff] [blame] | 387 | spi-tx-bus-width = <4>; |
| 388 | spi-rx-bus-width = <4>; |
Geert Uytterhoeven | e02ee51 | 2014-02-04 16:24:04 +0100 | [diff] [blame] | 389 | m25p,fast-read; |
| 390 | |
| 391 | partition@0 { |
| 392 | label = "loader"; |
| 393 | reg = <0x00000000 0x00080000>; |
| 394 | read-only; |
| 395 | }; |
| 396 | partition@80000 { |
| 397 | label = "bootenv"; |
| 398 | reg = <0x00080000 0x00080000>; |
| 399 | read-only; |
| 400 | }; |
| 401 | partition@100000 { |
| 402 | label = "data"; |
| 403 | reg = <0x00100000 0x03f00000>; |
| 404 | }; |
| 405 | }; |
| 406 | }; |
Geert Uytterhoeven | b16f05a | 2014-02-25 11:30:18 +0100 | [diff] [blame] | 407 | |
| 408 | &msiof0 { |
| 409 | pinctrl-0 = <&msiof0_pins>; |
| 410 | pinctrl-names = "default"; |
| 411 | |
| 412 | status = "okay"; |
| 413 | |
| 414 | pmic: pmic@0 { |
| 415 | compatible = "renesas,r2a11302ft"; |
| 416 | reg = <0>; |
| 417 | spi-max-frequency = <6000000>; |
| 418 | spi-cpol; |
| 419 | spi-cpha; |
| 420 | }; |
| 421 | }; |
Gaku Inami | 1d41f36 | 2014-06-03 21:02:59 +0900 | [diff] [blame] | 422 | |
Simon Horman | 897dfdb | 2014-06-09 17:50:28 +0900 | [diff] [blame] | 423 | &i2c2 { |
| 424 | pinctrl-0 = <&i2c2_pins>; |
| 425 | pinctrl-names = "default"; |
| 426 | |
| 427 | status = "okay"; |
Kuninori Morimoto | a8d943e | 2014-11-03 17:48:49 -0800 | [diff] [blame^] | 428 | clock-frequency = <100000>; |
Simon Horman | 897dfdb | 2014-06-09 17:50:28 +0900 | [diff] [blame] | 429 | |
sergei.shtylyov@cogentembedded.com | 2cf0881 | 2014-08-06 22:38:22 +0400 | [diff] [blame] | 430 | composite-in@20 { |
| 431 | compatible = "adi,adv7180"; |
| 432 | reg = <0x20>; |
| 433 | remote = <&vin1>; |
| 434 | |
| 435 | port { |
| 436 | adv7180: endpoint { |
| 437 | bus-width = <8>; |
| 438 | remote-endpoint = <&vin1ep>; |
| 439 | }; |
| 440 | }; |
| 441 | }; |
| 442 | |
Simon Horman | 897dfdb | 2014-06-09 17:50:28 +0900 | [diff] [blame] | 443 | eeprom@50 { |
| 444 | compatible = "renesas,24c02"; |
| 445 | reg = <0x50>; |
| 446 | pagesize = <16>; |
| 447 | }; |
| 448 | }; |
| 449 | |
Gaku Inami | 1d41f36 | 2014-06-03 21:02:59 +0900 | [diff] [blame] | 450 | &i2c6 { |
Gaku Inami | 1d41f36 | 2014-06-03 21:02:59 +0900 | [diff] [blame] | 451 | status = "okay"; |
Simon Horman | 897dfdb | 2014-06-09 17:50:28 +0900 | [diff] [blame] | 452 | clock-frequency = <100000>; |
Gaku Inami | 1d41f36 | 2014-06-03 21:02:59 +0900 | [diff] [blame] | 453 | |
| 454 | vdd_dvfs: regulator@68 { |
Steve Twiss | bd597f4 | 2014-08-22 15:26:55 +0100 | [diff] [blame] | 455 | compatible = "dlg,da9210"; |
Gaku Inami | 1d41f36 | 2014-06-03 21:02:59 +0900 | [diff] [blame] | 456 | reg = <0x68>; |
| 457 | |
| 458 | regulator-min-microvolt = <1000000>; |
| 459 | regulator-max-microvolt = <1000000>; |
| 460 | regulator-boot-on; |
| 461 | regulator-always-on; |
| 462 | }; |
| 463 | }; |
Gaku Inami | a57004ec | 2014-06-03 21:03:10 +0900 | [diff] [blame] | 464 | |
Sergei Shtylyov | 7540aeb | 2014-06-24 22:11:44 +0400 | [diff] [blame] | 465 | &pci0 { |
| 466 | status = "okay"; |
| 467 | pinctrl-0 = <&usb0_pins>; |
| 468 | pinctrl-names = "default"; |
| 469 | }; |
| 470 | |
| 471 | &pci1 { |
| 472 | status = "okay"; |
| 473 | pinctrl-0 = <&usb1_pins>; |
| 474 | pinctrl-names = "default"; |
| 475 | }; |
| 476 | |
Yoshihiro Shimoda | fc4a00b | 2014-10-24 19:45:07 +0900 | [diff] [blame] | 477 | &hsusb { |
| 478 | status = "okay"; |
| 479 | pinctrl-0 = <&usb0_pins>; |
| 480 | pinctrl-names = "default"; |
| 481 | renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>; |
| 482 | }; |
| 483 | |
Sergei Shtylyov | dc80d8b | 2014-09-27 01:09:22 +0400 | [diff] [blame] | 484 | &usbphy { |
| 485 | status = "okay"; |
| 486 | }; |
| 487 | |
Phil Edworthy | 998d7d6 | 2014-06-13 10:37:21 +0100 | [diff] [blame] | 488 | &pcie_bus_clk { |
| 489 | status = "okay"; |
| 490 | }; |
| 491 | |
| 492 | &pciec { |
| 493 | status = "okay"; |
| 494 | }; |
| 495 | |
Gaku Inami | a57004ec | 2014-06-03 21:03:10 +0900 | [diff] [blame] | 496 | &cpu0 { |
| 497 | cpu0-supply = <&vdd_dvfs>; |
| 498 | }; |
sergei.shtylyov@cogentembedded.com | 2cf0881 | 2014-08-06 22:38:22 +0400 | [diff] [blame] | 499 | |
| 500 | /* composite video input */ |
| 501 | &vin1 { |
| 502 | status = "ok"; |
| 503 | pinctrl-0 = <&vin1_pins>; |
| 504 | pinctrl-names = "default"; |
| 505 | |
| 506 | port { |
| 507 | #address-cells = <1>; |
| 508 | #size-cells = <0>; |
| 509 | |
| 510 | vin1ep: endpoint { |
| 511 | remote-endpoint = <&adv7180>; |
| 512 | bus-width = <8>; |
| 513 | }; |
| 514 | }; |
| 515 | }; |