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 | fcf0c72 | 2013-12-11 15:13:50 +0100 | [diff] [blame] | 215 | &extal_clk { |
| 216 | clock-frequency = <20000000>; |
| 217 | }; |
| 218 | |
Laurent Pinchart | f8e2535 | 2013-12-11 15:13:48 +0100 | [diff] [blame] | 219 | &pfc { |
Laurent Pinchart | 5ba55fa | 2014-04-30 02:31:46 +0200 | [diff] [blame] | 220 | pinctrl-0 = <&du_pins>; |
Laurent Pinchart | f8e2535 | 2013-12-11 15:13:48 +0100 | [diff] [blame] | 221 | pinctrl-names = "default"; |
| 222 | |
Wolfram Sang | e6a4c00 | 2014-03-10 12:26:59 +0100 | [diff] [blame] | 223 | i2c2_pins: i2c2 { |
Wolfram Sang | 38c5351 | 2014-02-17 11:44:42 +0100 | [diff] [blame] | 224 | renesas,groups = "i2c2"; |
| 225 | renesas,function = "i2c2"; |
| 226 | }; |
| 227 | |
Laurent Pinchart | afba941 | 2014-02-16 22:32:01 +0100 | [diff] [blame] | 228 | du_pins: du { |
| 229 | renesas,groups = "du_rgb666", "du_sync", "du_clk_out_0"; |
| 230 | renesas,function = "du"; |
| 231 | }; |
| 232 | |
Laurent Pinchart | f8e2535 | 2013-12-11 15:13:48 +0100 | [diff] [blame] | 233 | scif0_pins: serial0 { |
| 234 | renesas,groups = "scif0_data_d"; |
| 235 | renesas,function = "scif0"; |
| 236 | }; |
| 237 | |
| 238 | scif1_pins: serial1 { |
| 239 | renesas,groups = "scif1_data_d"; |
| 240 | renesas,function = "scif1"; |
| 241 | }; |
Geert Uytterhoeven | e02ee51 | 2014-02-04 16:24:04 +0100 | [diff] [blame] | 242 | |
Sergei Shtylyov | 08e8f0f | 2014-02-20 02:28:59 +0300 | [diff] [blame] | 243 | ether_pins: ether { |
| 244 | renesas,groups = "eth_link", "eth_mdio", "eth_rmii"; |
| 245 | renesas,function = "eth"; |
| 246 | }; |
| 247 | |
| 248 | phy1_pins: phy1 { |
| 249 | renesas,groups = "intc_irq0"; |
| 250 | renesas,function = "intc"; |
| 251 | }; |
| 252 | |
Magnus Damm | 2c60a7d | 2014-02-12 18:54:04 +0900 | [diff] [blame] | 253 | sdhi0_pins: sd0 { |
Magnus Damm | d5dda03 | 2014-04-14 19:13:21 +0900 | [diff] [blame] | 254 | renesas,groups = "sdhi0_data4", "sdhi0_ctrl"; |
Magnus Damm | 2c60a7d | 2014-02-12 18:54:04 +0900 | [diff] [blame] | 255 | renesas,function = "sdhi0"; |
| 256 | }; |
| 257 | |
| 258 | sdhi1_pins: sd1 { |
Magnus Damm | d5dda03 | 2014-04-14 19:13:21 +0900 | [diff] [blame] | 259 | renesas,groups = "sdhi1_data4", "sdhi1_ctrl"; |
Magnus Damm | 2c60a7d | 2014-02-12 18:54:04 +0900 | [diff] [blame] | 260 | renesas,function = "sdhi1"; |
| 261 | }; |
| 262 | |
| 263 | sdhi2_pins: sd2 { |
Magnus Damm | d5dda03 | 2014-04-14 19:13:21 +0900 | [diff] [blame] | 264 | renesas,groups = "sdhi2_data4", "sdhi2_ctrl"; |
Magnus Damm | 2c60a7d | 2014-02-12 18:54:04 +0900 | [diff] [blame] | 265 | renesas,function = "sdhi2"; |
| 266 | }; |
| 267 | |
Geert Uytterhoeven | 6f3e4ee | 2014-02-25 11:30:14 +0100 | [diff] [blame] | 268 | qspi_pins: spi0 { |
Geert Uytterhoeven | e02ee51 | 2014-02-04 16:24:04 +0100 | [diff] [blame] | 269 | renesas,groups = "qspi_ctrl", "qspi_data4"; |
| 270 | renesas,function = "qspi"; |
| 271 | }; |
Geert Uytterhoeven | b16f05a | 2014-02-25 11:30:18 +0100 | [diff] [blame] | 272 | |
| 273 | msiof0_pins: spi1 { |
| 274 | renesas,groups = "msiof0_clk", "msiof0_sync", "msiof0_rx", |
| 275 | "msiof0_tx"; |
| 276 | renesas,function = "msiof0"; |
| 277 | }; |
Gaku Inami | 1d41f36 | 2014-06-03 21:02:59 +0900 | [diff] [blame] | 278 | |
Sergei Shtylyov | 7540aeb | 2014-06-24 22:11:44 +0400 | [diff] [blame] | 279 | usb0_pins: usb0 { |
| 280 | renesas,groups = "usb0"; |
| 281 | renesas,function = "usb0"; |
| 282 | }; |
| 283 | |
| 284 | usb1_pins: usb1 { |
| 285 | renesas,groups = "usb1"; |
| 286 | renesas,function = "usb1"; |
| 287 | }; |
sergei.shtylyov@cogentembedded.com | 2cf0881 | 2014-08-06 22:38:22 +0400 | [diff] [blame] | 288 | |
| 289 | vin1_pins: vin1 { |
| 290 | renesas,groups = "vin1_data8", "vin1_clk"; |
| 291 | renesas,function = "vin1"; |
| 292 | }; |
Hisashi Nakamura | 1f52c65 | 2013-09-04 12:46:49 +0900 | [diff] [blame] | 293 | }; |
Valentine Barshak | 760c277 | 2014-01-14 21:05:41 +0400 | [diff] [blame] | 294 | |
Sergei Shtylyov | 08e8f0f | 2014-02-20 02:28:59 +0300 | [diff] [blame] | 295 | ðer { |
| 296 | pinctrl-0 = <ðer_pins &phy1_pins>; |
| 297 | pinctrl-names = "default"; |
| 298 | |
| 299 | phy-handle = <&phy1>; |
| 300 | renesas,ether-link-active-low; |
| 301 | status = "ok"; |
| 302 | |
| 303 | phy1: ethernet-phy@1 { |
| 304 | reg = <1>; |
| 305 | interrupt-parent = <&irqc0>; |
| 306 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
Laurent Pinchart | 19f647c | 2014-03-18 19:04:48 +0100 | [diff] [blame] | 307 | micrel,led-mode = <1>; |
Sergei Shtylyov | 08e8f0f | 2014-02-20 02:28:59 +0300 | [diff] [blame] | 308 | }; |
| 309 | }; |
| 310 | |
Laurent Pinchart | 6a1d946 | 2014-07-09 15:12:42 +0200 | [diff] [blame] | 311 | &cmt0 { |
| 312 | status = "ok"; |
| 313 | }; |
| 314 | |
Valentine Barshak | 760c277 | 2014-01-14 21:05:41 +0400 | [diff] [blame] | 315 | &sata0 { |
| 316 | status = "okay"; |
| 317 | }; |
Geert Uytterhoeven | e02ee51 | 2014-02-04 16:24:04 +0100 | [diff] [blame] | 318 | |
Laurent Pinchart | 5ba55fa | 2014-04-30 02:31:46 +0200 | [diff] [blame] | 319 | &scif0 { |
| 320 | pinctrl-0 = <&scif0_pins>; |
| 321 | pinctrl-names = "default"; |
| 322 | |
| 323 | status = "okay"; |
| 324 | }; |
| 325 | |
| 326 | &scif1 { |
| 327 | pinctrl-0 = <&scif1_pins>; |
| 328 | pinctrl-names = "default"; |
| 329 | |
| 330 | status = "okay"; |
| 331 | }; |
| 332 | |
Magnus Damm | 2c60a7d | 2014-02-12 18:54:04 +0900 | [diff] [blame] | 333 | &sdhi0 { |
| 334 | pinctrl-0 = <&sdhi0_pins>; |
| 335 | pinctrl-names = "default"; |
| 336 | |
| 337 | vmmc-supply = <&vcc_sdhi0>; |
| 338 | vqmmc-supply = <&vccq_sdhi0>; |
| 339 | cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>; |
| 340 | wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; |
| 341 | status = "okay"; |
| 342 | }; |
| 343 | |
| 344 | &sdhi1 { |
| 345 | pinctrl-0 = <&sdhi1_pins>; |
| 346 | pinctrl-names = "default"; |
| 347 | |
| 348 | vmmc-supply = <&vcc_sdhi1>; |
| 349 | vqmmc-supply = <&vccq_sdhi1>; |
| 350 | cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>; |
| 351 | wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>; |
| 352 | status = "okay"; |
| 353 | }; |
| 354 | |
| 355 | &sdhi2 { |
| 356 | pinctrl-0 = <&sdhi2_pins>; |
| 357 | pinctrl-names = "default"; |
| 358 | |
| 359 | vmmc-supply = <&vcc_sdhi2>; |
| 360 | vqmmc-supply = <&vccq_sdhi2>; |
| 361 | cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>; |
| 362 | status = "okay"; |
| 363 | }; |
| 364 | |
Geert Uytterhoeven | 6f3e4ee | 2014-02-25 11:30:14 +0100 | [diff] [blame] | 365 | &qspi { |
Geert Uytterhoeven | e02ee51 | 2014-02-04 16:24:04 +0100 | [diff] [blame] | 366 | pinctrl-0 = <&qspi_pins>; |
| 367 | pinctrl-names = "default"; |
| 368 | |
| 369 | status = "okay"; |
| 370 | |
| 371 | flash: flash@0 { |
| 372 | #address-cells = <1>; |
| 373 | #size-cells = <1>; |
| 374 | compatible = "spansion,s25fl512s"; |
| 375 | reg = <0>; |
| 376 | spi-max-frequency = <30000000>; |
Geert Uytterhoeven | ed56083 | 2014-04-14 19:35:58 +0200 | [diff] [blame] | 377 | spi-tx-bus-width = <4>; |
| 378 | spi-rx-bus-width = <4>; |
Geert Uytterhoeven | e02ee51 | 2014-02-04 16:24:04 +0100 | [diff] [blame] | 379 | m25p,fast-read; |
| 380 | |
| 381 | partition@0 { |
| 382 | label = "loader"; |
| 383 | reg = <0x00000000 0x00080000>; |
| 384 | read-only; |
| 385 | }; |
| 386 | partition@80000 { |
| 387 | label = "bootenv"; |
| 388 | reg = <0x00080000 0x00080000>; |
| 389 | read-only; |
| 390 | }; |
| 391 | partition@100000 { |
| 392 | label = "data"; |
| 393 | reg = <0x00100000 0x03f00000>; |
| 394 | }; |
| 395 | }; |
| 396 | }; |
Geert Uytterhoeven | b16f05a | 2014-02-25 11:30:18 +0100 | [diff] [blame] | 397 | |
| 398 | &msiof0 { |
| 399 | pinctrl-0 = <&msiof0_pins>; |
| 400 | pinctrl-names = "default"; |
| 401 | |
| 402 | status = "okay"; |
| 403 | |
| 404 | pmic: pmic@0 { |
| 405 | compatible = "renesas,r2a11302ft"; |
| 406 | reg = <0>; |
| 407 | spi-max-frequency = <6000000>; |
| 408 | spi-cpol; |
| 409 | spi-cpha; |
| 410 | }; |
| 411 | }; |
Gaku Inami | 1d41f36 | 2014-06-03 21:02:59 +0900 | [diff] [blame] | 412 | |
Simon Horman | 897dfdb | 2014-06-09 17:50:28 +0900 | [diff] [blame] | 413 | &i2c2 { |
| 414 | pinctrl-0 = <&i2c2_pins>; |
| 415 | pinctrl-names = "default"; |
| 416 | |
| 417 | status = "okay"; |
| 418 | clock-frequency = <400000>; |
| 419 | |
sergei.shtylyov@cogentembedded.com | 2cf0881 | 2014-08-06 22:38:22 +0400 | [diff] [blame] | 420 | composite-in@20 { |
| 421 | compatible = "adi,adv7180"; |
| 422 | reg = <0x20>; |
| 423 | remote = <&vin1>; |
| 424 | |
| 425 | port { |
| 426 | adv7180: endpoint { |
| 427 | bus-width = <8>; |
| 428 | remote-endpoint = <&vin1ep>; |
| 429 | }; |
| 430 | }; |
| 431 | }; |
| 432 | |
Simon Horman | 897dfdb | 2014-06-09 17:50:28 +0900 | [diff] [blame] | 433 | eeprom@50 { |
| 434 | compatible = "renesas,24c02"; |
| 435 | reg = <0x50>; |
| 436 | pagesize = <16>; |
| 437 | }; |
| 438 | }; |
| 439 | |
Gaku Inami | 1d41f36 | 2014-06-03 21:02:59 +0900 | [diff] [blame] | 440 | &i2c6 { |
Gaku Inami | 1d41f36 | 2014-06-03 21:02:59 +0900 | [diff] [blame] | 441 | status = "okay"; |
Simon Horman | 897dfdb | 2014-06-09 17:50:28 +0900 | [diff] [blame] | 442 | clock-frequency = <100000>; |
Gaku Inami | 1d41f36 | 2014-06-03 21:02:59 +0900 | [diff] [blame] | 443 | |
| 444 | vdd_dvfs: regulator@68 { |
Steve Twiss | bd597f4 | 2014-08-22 15:26:55 +0100 | [diff] [blame] | 445 | compatible = "dlg,da9210"; |
Gaku Inami | 1d41f36 | 2014-06-03 21:02:59 +0900 | [diff] [blame] | 446 | reg = <0x68>; |
| 447 | |
| 448 | regulator-min-microvolt = <1000000>; |
| 449 | regulator-max-microvolt = <1000000>; |
| 450 | regulator-boot-on; |
| 451 | regulator-always-on; |
| 452 | }; |
| 453 | }; |
Gaku Inami | a57004ec | 2014-06-03 21:03:10 +0900 | [diff] [blame] | 454 | |
Sergei Shtylyov | 7540aeb | 2014-06-24 22:11:44 +0400 | [diff] [blame] | 455 | &pci0 { |
| 456 | status = "okay"; |
| 457 | pinctrl-0 = <&usb0_pins>; |
| 458 | pinctrl-names = "default"; |
| 459 | }; |
| 460 | |
| 461 | &pci1 { |
| 462 | status = "okay"; |
| 463 | pinctrl-0 = <&usb1_pins>; |
| 464 | pinctrl-names = "default"; |
| 465 | }; |
| 466 | |
Phil Edworthy | 998d7d6 | 2014-06-13 10:37:21 +0100 | [diff] [blame] | 467 | &pcie_bus_clk { |
| 468 | status = "okay"; |
| 469 | }; |
| 470 | |
| 471 | &pciec { |
| 472 | status = "okay"; |
| 473 | }; |
| 474 | |
Gaku Inami | a57004ec | 2014-06-03 21:03:10 +0900 | [diff] [blame] | 475 | &cpu0 { |
| 476 | cpu0-supply = <&vdd_dvfs>; |
| 477 | }; |
sergei.shtylyov@cogentembedded.com | 2cf0881 | 2014-08-06 22:38:22 +0400 | [diff] [blame] | 478 | |
| 479 | /* composite video input */ |
| 480 | &vin1 { |
| 481 | status = "ok"; |
| 482 | pinctrl-0 = <&vin1_pins>; |
| 483 | pinctrl-names = "default"; |
| 484 | |
| 485 | port { |
| 486 | #address-cells = <1>; |
| 487 | #size-cells = <0>; |
| 488 | |
| 489 | vin1ep: endpoint { |
| 490 | remote-endpoint = <&adv7180>; |
| 491 | bus-width = <8>; |
| 492 | }; |
| 493 | }; |
| 494 | }; |