Kuninori Morimoto | 1950fab | 2015-10-02 11:56:12 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the Salvator-X board |
| 3 | * |
| 4 | * Copyright (C) 2015 Renesas Electronics Corp. |
| 5 | * |
| 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | * version 2. This program is licensed "as is" without any warranty of any |
| 8 | * kind, whether express or implied. |
| 9 | */ |
| 10 | |
Kuninori Morimoto | 672b793 | 2015-11-25 06:39:13 +0000 | [diff] [blame] | 11 | /* |
| 12 | * SSI-AK4613 |
| 13 | * |
| 14 | * This command is required when Playback/Capture |
| 15 | * |
| 16 | * amixer set "DVC Out" 100% |
| 17 | * amixer set "DVC In" 100% |
| 18 | * |
| 19 | * You can use Mute |
| 20 | * |
| 21 | * amixer set "DVC Out Mute" on |
| 22 | * amixer set "DVC In Mute" on |
| 23 | * |
| 24 | * You can use Volume Ramp |
| 25 | * |
| 26 | * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps" |
| 27 | * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps" |
| 28 | * amixer set "DVC Out Ramp" on |
| 29 | * aplay xxx.wav & |
| 30 | * amixer set "DVC Out" 80% // Volume Down |
| 31 | * amixer set "DVC Out" 100% // Volume Up |
| 32 | */ |
| 33 | |
Kuninori Morimoto | 1950fab | 2015-10-02 11:56:12 +0900 | [diff] [blame] | 34 | /dts-v1/; |
| 35 | #include "r8a7795.dtsi" |
Ai Kyuse | 1c0e7b9 | 2016-02-15 16:01:50 +0100 | [diff] [blame] | 36 | #include <dt-bindings/gpio/gpio.h> |
Kuninori Morimoto | 1950fab | 2015-10-02 11:56:12 +0900 | [diff] [blame] | 37 | |
| 38 | / { |
| 39 | model = "Renesas Salvator-X board based on r8a7795"; |
| 40 | compatible = "renesas,salvator-x", "renesas,r8a7795"; |
| 41 | |
| 42 | aliases { |
| 43 | serial0 = &scif2; |
| 44 | serial1 = &scif1; |
Geert Uytterhoeven | 10ca6db | 2015-11-02 13:31:48 +0900 | [diff] [blame] | 45 | ethernet0 = &avb; |
Kuninori Morimoto | 1950fab | 2015-10-02 11:56:12 +0900 | [diff] [blame] | 46 | }; |
| 47 | |
| 48 | chosen { |
Simon Horman | b2407c5 | 2015-11-02 13:31:46 +0900 | [diff] [blame] | 49 | bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; |
Kuninori Morimoto | 1950fab | 2015-10-02 11:56:12 +0900 | [diff] [blame] | 50 | stdout-path = "serial0:115200n8"; |
| 51 | }; |
| 52 | |
| 53 | memory@48000000 { |
| 54 | device_type = "memory"; |
| 55 | /* first 128MB is reserved for secure area. */ |
| 56 | reg = <0x0 0x48000000 0x0 0x38000000>; |
| 57 | }; |
Kuninori Morimoto | 994aadf | 2015-11-25 06:37:49 +0000 | [diff] [blame] | 58 | |
| 59 | x12_clk: x12_clk { |
| 60 | compatible = "fixed-clock"; |
| 61 | #clock-cells = <0>; |
| 62 | clock-frequency = <24576000>; |
| 63 | }; |
| 64 | |
Wolfram Sang | 7c827d1 | 2016-10-16 10:27:47 +0200 | [diff] [blame] | 65 | reg_1p8v: regulator0 { |
| 66 | compatible = "regulator-fixed"; |
| 67 | regulator-name = "fixed-1.8V"; |
| 68 | regulator-min-microvolt = <1800000>; |
| 69 | regulator-max-microvolt = <1800000>; |
| 70 | regulator-boot-on; |
| 71 | regulator-always-on; |
| 72 | }; |
| 73 | |
| 74 | reg_3p3v: regulator1 { |
| 75 | compatible = "regulator-fixed"; |
| 76 | regulator-name = "fixed-3.3V"; |
| 77 | regulator-min-microvolt = <3300000>; |
| 78 | regulator-max-microvolt = <3300000>; |
| 79 | regulator-boot-on; |
| 80 | regulator-always-on; |
| 81 | }; |
| 82 | |
Geert Uytterhoeven | 4a4e213 | 2016-05-20 09:10:14 +0200 | [diff] [blame] | 83 | vcc_sdhi0: regulator-vcc-sdhi0 { |
Ai Kyuse | 1c0e7b9 | 2016-02-15 16:01:50 +0100 | [diff] [blame] | 84 | compatible = "regulator-fixed"; |
| 85 | |
| 86 | regulator-name = "SDHI0 Vcc"; |
| 87 | regulator-min-microvolt = <3300000>; |
| 88 | regulator-max-microvolt = <3300000>; |
| 89 | |
| 90 | gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>; |
| 91 | enable-active-high; |
| 92 | }; |
| 93 | |
Geert Uytterhoeven | 4a4e213 | 2016-05-20 09:10:14 +0200 | [diff] [blame] | 94 | vccq_sdhi0: regulator-vccq-sdhi0 { |
Ai Kyuse | 1c0e7b9 | 2016-02-15 16:01:50 +0100 | [diff] [blame] | 95 | compatible = "regulator-gpio"; |
| 96 | |
| 97 | regulator-name = "SDHI0 VccQ"; |
| 98 | regulator-min-microvolt = <1800000>; |
| 99 | regulator-max-microvolt = <3300000>; |
| 100 | |
| 101 | gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; |
| 102 | gpios-states = <1>; |
| 103 | states = <3300000 1 |
| 104 | 1800000 0>; |
| 105 | }; |
| 106 | |
Geert Uytterhoeven | 4a4e213 | 2016-05-20 09:10:14 +0200 | [diff] [blame] | 107 | vcc_sdhi3: regulator-vcc-sdhi3 { |
Ai Kyuse | 1c0e7b9 | 2016-02-15 16:01:50 +0100 | [diff] [blame] | 108 | compatible = "regulator-fixed"; |
| 109 | |
| 110 | regulator-name = "SDHI3 Vcc"; |
| 111 | regulator-min-microvolt = <3300000>; |
| 112 | regulator-max-microvolt = <3300000>; |
| 113 | |
| 114 | gpio = <&gpio3 15 GPIO_ACTIVE_HIGH>; |
| 115 | enable-active-high; |
| 116 | }; |
| 117 | |
Geert Uytterhoeven | 4a4e213 | 2016-05-20 09:10:14 +0200 | [diff] [blame] | 118 | vccq_sdhi3: regulator-vccq-sdhi3 { |
Ai Kyuse | 1c0e7b9 | 2016-02-15 16:01:50 +0100 | [diff] [blame] | 119 | compatible = "regulator-gpio"; |
| 120 | |
| 121 | regulator-name = "SDHI3 VccQ"; |
| 122 | regulator-min-microvolt = <1800000>; |
| 123 | regulator-max-microvolt = <3300000>; |
| 124 | |
| 125 | gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>; |
| 126 | gpios-states = <1>; |
| 127 | states = <3300000 1 |
| 128 | 1800000 0>; |
| 129 | }; |
| 130 | |
Yoshihiro Shimoda | a905b72 | 2016-07-21 19:46:58 +0900 | [diff] [blame] | 131 | vbus0_usb2: regulator-vbus0-usb2 { |
| 132 | compatible = "regulator-fixed"; |
| 133 | |
| 134 | regulator-name = "USB20_VBUS0"; |
| 135 | regulator-min-microvolt = <5000000>; |
| 136 | regulator-max-microvolt = <5000000>; |
| 137 | |
| 138 | gpio = <&gpio6 16 GPIO_ACTIVE_HIGH>; |
| 139 | enable-active-high; |
| 140 | }; |
| 141 | |
Kuninori Morimoto | 8a8f181 | 2015-12-01 05:36:34 +0000 | [diff] [blame] | 142 | audio_clkout: audio_clkout { |
| 143 | /* |
| 144 | * This is same as <&rcar_sound 0> |
| 145 | * but needed to avoid cs2000/rcar_sound probe dead-lock |
| 146 | */ |
| 147 | compatible = "fixed-clock"; |
| 148 | #clock-cells = <0>; |
| 149 | clock-frequency = <11289600>; |
| 150 | }; |
| 151 | |
Kuninori Morimoto | 994aadf | 2015-11-25 06:37:49 +0000 | [diff] [blame] | 152 | rsnd_ak4613: sound { |
| 153 | compatible = "simple-audio-card"; |
| 154 | |
| 155 | simple-audio-card,format = "left_j"; |
| 156 | simple-audio-card,bitclock-master = <&sndcpu>; |
| 157 | simple-audio-card,frame-master = <&sndcpu>; |
| 158 | |
| 159 | sndcpu: simple-audio-card,cpu { |
| 160 | sound-dai = <&rcar_sound>; |
| 161 | }; |
| 162 | |
| 163 | sndcodec: simple-audio-card,codec { |
| 164 | sound-dai = <&ak4613>; |
| 165 | }; |
| 166 | }; |
Laurent Pinchart | aadc4ee | 2016-08-09 15:29:12 +0300 | [diff] [blame] | 167 | |
| 168 | vga-encoder { |
| 169 | compatible = "adi,adv7123"; |
| 170 | |
| 171 | ports { |
| 172 | #address-cells = <1>; |
| 173 | #size-cells = <0>; |
| 174 | |
| 175 | port@0 { |
| 176 | reg = <0>; |
| 177 | adv7123_in: endpoint { |
| 178 | remote-endpoint = <&du_out_rgb>; |
| 179 | }; |
| 180 | }; |
| 181 | port@1 { |
| 182 | reg = <1>; |
| 183 | adv7123_out: endpoint { |
| 184 | remote-endpoint = <&vga_in>; |
| 185 | }; |
| 186 | }; |
| 187 | }; |
| 188 | }; |
| 189 | |
| 190 | vga { |
| 191 | compatible = "vga-connector"; |
| 192 | |
| 193 | port { |
| 194 | vga_in: endpoint { |
| 195 | remote-endpoint = <&adv7123_out>; |
| 196 | }; |
| 197 | }; |
| 198 | }; |
| 199 | }; |
| 200 | |
| 201 | &du { |
Laurent Pinchart | 272bde0 | 2016-08-12 12:18:55 +0300 | [diff] [blame] | 202 | pinctrl-0 = <&du_pins>; |
| 203 | pinctrl-names = "default"; |
Laurent Pinchart | aadc4ee | 2016-08-09 15:29:12 +0300 | [diff] [blame] | 204 | status = "okay"; |
| 205 | |
| 206 | ports { |
| 207 | port@0 { |
| 208 | endpoint { |
| 209 | remote-endpoint = <&adv7123_in>; |
| 210 | }; |
| 211 | }; |
Laurent Pinchart | ea3c17b | 2016-10-03 20:12:31 +0300 | [diff] [blame] | 212 | port@3 { |
| 213 | lvds_connector: endpoint { |
| 214 | }; |
| 215 | }; |
Laurent Pinchart | aadc4ee | 2016-08-09 15:29:12 +0300 | [diff] [blame] | 216 | }; |
Kuninori Morimoto | 1950fab | 2015-10-02 11:56:12 +0900 | [diff] [blame] | 217 | }; |
| 218 | |
| 219 | &extal_clk { |
| 220 | clock-frequency = <16666666>; |
| 221 | }; |
| 222 | |
Wolfram Sang | de5a79f | 2016-03-30 16:58:22 +0200 | [diff] [blame] | 223 | &extalr_clk { |
| 224 | clock-frequency = <32768>; |
| 225 | }; |
| 226 | |
Kuninori Morimoto | 1950fab | 2015-10-02 11:56:12 +0900 | [diff] [blame] | 227 | &pfc { |
Geert Uytterhoeven | a3fc85e | 2016-01-29 11:17:26 +0100 | [diff] [blame] | 228 | pinctrl-0 = <&scif_clk_pins>; |
| 229 | pinctrl-names = "default"; |
| 230 | |
Kuninori Morimoto | 1950fab | 2015-10-02 11:56:12 +0900 | [diff] [blame] | 231 | scif1_pins: scif1 { |
Simon Horman | fa3d2ae | 2016-03-18 07:57:10 +0900 | [diff] [blame] | 232 | groups = "scif1_data_a", "scif1_ctrl"; |
| 233 | function = "scif1"; |
Kuninori Morimoto | 1950fab | 2015-10-02 11:56:12 +0900 | [diff] [blame] | 234 | }; |
| 235 | scif2_pins: scif2 { |
Simon Horman | fa3d2ae | 2016-03-18 07:57:10 +0900 | [diff] [blame] | 236 | groups = "scif2_data_a"; |
| 237 | function = "scif2"; |
Kuninori Morimoto | 1950fab | 2015-10-02 11:56:12 +0900 | [diff] [blame] | 238 | }; |
Geert Uytterhoeven | a3fc85e | 2016-01-29 11:17:26 +0100 | [diff] [blame] | 239 | scif_clk_pins: scif_clk { |
Simon Horman | fa3d2ae | 2016-03-18 07:57:10 +0900 | [diff] [blame] | 240 | groups = "scif_clk_a"; |
| 241 | function = "scif_clk"; |
Geert Uytterhoeven | a3fc85e | 2016-01-29 11:17:26 +0100 | [diff] [blame] | 242 | }; |
Kazuya Mizuguchi | 6fa501c | 2015-11-02 13:31:45 +0900 | [diff] [blame] | 243 | |
Kuninori Morimoto | 637d801 | 2015-10-28 08:05:28 +0900 | [diff] [blame] | 244 | i2c2_pins: i2c2 { |
Simon Horman | fa3d2ae | 2016-03-18 07:57:10 +0900 | [diff] [blame] | 245 | groups = "i2c2_a"; |
| 246 | function = "i2c2"; |
Kuninori Morimoto | 637d801 | 2015-10-28 08:05:28 +0900 | [diff] [blame] | 247 | }; |
| 248 | |
Kazuya Mizuguchi | 6fa501c | 2015-11-02 13:31:45 +0900 | [diff] [blame] | 249 | avb_pins: avb { |
Simon Horman | fa3d2ae | 2016-03-18 07:57:10 +0900 | [diff] [blame] | 250 | groups = "avb_mdc"; |
| 251 | function = "avb"; |
Kazuya Mizuguchi | 6fa501c | 2015-11-02 13:31:45 +0900 | [diff] [blame] | 252 | }; |
Kuninori Morimoto | 994aadf | 2015-11-25 06:37:49 +0000 | [diff] [blame] | 253 | |
Laurent Pinchart | 272bde0 | 2016-08-12 12:18:55 +0300 | [diff] [blame] | 254 | du_pins: du { |
| 255 | groups = "du_rgb888", "du_sync", "du_oddf", "du_clk_out_0"; |
| 256 | function = "du"; |
| 257 | }; |
| 258 | |
Ai Kyuse | 1c0e7b9 | 2016-02-15 16:01:50 +0100 | [diff] [blame] | 259 | sdhi0_pins: sd0 { |
Simon Horman | fa3d2ae | 2016-03-18 07:57:10 +0900 | [diff] [blame] | 260 | groups = "sdhi0_data4", "sdhi0_ctrl"; |
| 261 | function = "sdhi0"; |
Wolfram Sang | 2a927ee | 2016-09-13 12:56:59 +0200 | [diff] [blame] | 262 | power-source = <3300>; |
| 263 | }; |
| 264 | |
| 265 | sdhi0_pins_uhs: sd0_uhs { |
| 266 | groups = "sdhi0_data4", "sdhi0_ctrl"; |
| 267 | function = "sdhi0"; |
| 268 | power-source = <1800>; |
Ai Kyuse | 1c0e7b9 | 2016-02-15 16:01:50 +0100 | [diff] [blame] | 269 | }; |
| 270 | |
Wolfram Sang | 7c827d1 | 2016-10-16 10:27:47 +0200 | [diff] [blame] | 271 | sdhi2_pins: sd2 { |
| 272 | groups = "sdhi2_data8", "sdhi2_ctrl"; |
| 273 | function = "sdhi2"; |
| 274 | power-source = <3300>; |
| 275 | }; |
| 276 | |
| 277 | sdhi2_pins_uhs: sd2_uhs { |
| 278 | groups = "sdhi2_data8", "sdhi2_ctrl"; |
| 279 | function = "sdhi2"; |
| 280 | power-source = <1800>; |
| 281 | }; |
| 282 | |
Ai Kyuse | 1c0e7b9 | 2016-02-15 16:01:50 +0100 | [diff] [blame] | 283 | sdhi3_pins: sd3 { |
Simon Horman | fa3d2ae | 2016-03-18 07:57:10 +0900 | [diff] [blame] | 284 | groups = "sdhi3_data4", "sdhi3_ctrl"; |
| 285 | function = "sdhi3"; |
Wolfram Sang | 2a927ee | 2016-09-13 12:56:59 +0200 | [diff] [blame] | 286 | power-source = <3300>; |
| 287 | }; |
| 288 | |
| 289 | sdhi3_pins_uhs: sd3_uhs { |
| 290 | groups = "sdhi3_data4", "sdhi3_ctrl"; |
| 291 | function = "sdhi3"; |
| 292 | power-source = <1800>; |
Ai Kyuse | 1c0e7b9 | 2016-02-15 16:01:50 +0100 | [diff] [blame] | 293 | }; |
| 294 | |
Kuninori Morimoto | 994aadf | 2015-11-25 06:37:49 +0000 | [diff] [blame] | 295 | sound_pins: sound { |
Simon Horman | fa3d2ae | 2016-03-18 07:57:10 +0900 | [diff] [blame] | 296 | groups = "ssi01239_ctrl", "ssi0_data", "ssi1_data_a"; |
| 297 | function = "ssi"; |
Kuninori Morimoto | 994aadf | 2015-11-25 06:37:49 +0000 | [diff] [blame] | 298 | }; |
| 299 | |
| 300 | sound_clk_pins: sound_clk { |
Simon Horman | fa3d2ae | 2016-03-18 07:57:10 +0900 | [diff] [blame] | 301 | groups = "audio_clk_a_a", "audio_clk_b_a", "audio_clk_c_a", |
| 302 | "audio_clkout_a", "audio_clkout3_a"; |
| 303 | function = "audio_clk"; |
Kuninori Morimoto | 994aadf | 2015-11-25 06:37:49 +0000 | [diff] [blame] | 304 | }; |
Yoshihiro Shimoda | e24250c | 2016-02-23 21:28:34 +0900 | [diff] [blame] | 305 | |
Yoshihiro Shimoda | a905b72 | 2016-07-21 19:46:58 +0900 | [diff] [blame] | 306 | usb0_pins: usb0 { |
| 307 | groups = "usb0"; |
| 308 | function = "usb0"; |
| 309 | }; |
| 310 | |
Yoshihiro Shimoda | e24250c | 2016-02-23 21:28:34 +0900 | [diff] [blame] | 311 | usb1_pins: usb1 { |
Yoshihiro Shimoda | 0751e1b | 2016-10-27 19:29:27 +0900 | [diff] [blame] | 312 | mux { |
| 313 | groups = "usb1"; |
| 314 | function = "usb1"; |
| 315 | }; |
| 316 | |
| 317 | ovc { |
| 318 | pins = "GP_6_27"; |
| 319 | bias-pull-up; |
| 320 | }; |
| 321 | |
| 322 | pwen { |
| 323 | pins = "GP_6_26"; |
| 324 | bias-pull-down; |
| 325 | }; |
Yoshihiro Shimoda | e24250c | 2016-02-23 21:28:34 +0900 | [diff] [blame] | 326 | }; |
| 327 | |
| 328 | usb2_pins: usb2 { |
Simon Horman | fa3d2ae | 2016-03-18 07:57:10 +0900 | [diff] [blame] | 329 | groups = "usb2"; |
| 330 | function = "usb2"; |
Yoshihiro Shimoda | e24250c | 2016-02-23 21:28:34 +0900 | [diff] [blame] | 331 | }; |
Kuninori Morimoto | 1950fab | 2015-10-02 11:56:12 +0900 | [diff] [blame] | 332 | }; |
| 333 | |
| 334 | &scif1 { |
| 335 | pinctrl-0 = <&scif1_pins>; |
| 336 | pinctrl-names = "default"; |
| 337 | |
Geert Uytterhoeven | 3cac478 | 2016-05-04 10:57:58 +0200 | [diff] [blame] | 338 | uart-has-rtscts; |
Kuninori Morimoto | 1950fab | 2015-10-02 11:56:12 +0900 | [diff] [blame] | 339 | status = "okay"; |
| 340 | }; |
| 341 | |
| 342 | &scif2 { |
| 343 | pinctrl-0 = <&scif2_pins>; |
| 344 | pinctrl-names = "default"; |
| 345 | |
| 346 | status = "okay"; |
| 347 | }; |
Kazuya Mizuguchi | 6fa501c | 2015-11-02 13:31:45 +0900 | [diff] [blame] | 348 | |
Geert Uytterhoeven | a3fc85e | 2016-01-29 11:17:26 +0100 | [diff] [blame] | 349 | &scif_clk { |
| 350 | clock-frequency = <14745600>; |
| 351 | status = "okay"; |
| 352 | }; |
| 353 | |
Kuninori Morimoto | 637d801 | 2015-10-28 08:05:28 +0900 | [diff] [blame] | 354 | &i2c2 { |
| 355 | pinctrl-0 = <&i2c2_pins>; |
| 356 | pinctrl-names = "default"; |
| 357 | |
| 358 | status = "okay"; |
Kuninori Morimoto | 994aadf | 2015-11-25 06:37:49 +0000 | [diff] [blame] | 359 | |
| 360 | clock-frequency = <100000>; |
| 361 | |
| 362 | ak4613: codec@10 { |
| 363 | compatible = "asahi-kasei,ak4613"; |
| 364 | #sound-dai-cells = <0>; |
| 365 | reg = <0x10>; |
| 366 | clocks = <&rcar_sound 3>; |
Kuninori Morimoto | 40fbe14 | 2015-11-27 01:04:41 +0000 | [diff] [blame] | 367 | |
| 368 | asahi-kasei,in1-single-end; |
| 369 | asahi-kasei,in2-single-end; |
| 370 | asahi-kasei,out1-single-end; |
| 371 | asahi-kasei,out2-single-end; |
| 372 | asahi-kasei,out3-single-end; |
| 373 | asahi-kasei,out4-single-end; |
| 374 | asahi-kasei,out5-single-end; |
| 375 | asahi-kasei,out6-single-end; |
Kuninori Morimoto | 994aadf | 2015-11-25 06:37:49 +0000 | [diff] [blame] | 376 | }; |
Kuninori Morimoto | 8a8f181 | 2015-12-01 05:36:34 +0000 | [diff] [blame] | 377 | |
| 378 | cs2000: clk_multiplier@4f { |
| 379 | #clock-cells = <0>; |
| 380 | compatible = "cirrus,cs2000-cp"; |
| 381 | reg = <0x4f>; |
| 382 | clocks = <&audio_clkout>, <&x12_clk>; |
| 383 | clock-names = "clk_in", "ref_clk"; |
| 384 | |
| 385 | assigned-clocks = <&cs2000>; |
| 386 | assigned-clock-rates = <24576000>; /* 1/1 divide */ |
| 387 | }; |
Kuninori Morimoto | 994aadf | 2015-11-25 06:37:49 +0000 | [diff] [blame] | 388 | }; |
| 389 | |
| 390 | &rcar_sound { |
| 391 | pinctrl-0 = <&sound_pins &sound_clk_pins>; |
| 392 | pinctrl-names = "default"; |
| 393 | |
| 394 | /* Single DAI */ |
| 395 | #sound-dai-cells = <0>; |
| 396 | |
| 397 | /* audio_clkout0/1/2/3 */ |
| 398 | #clock-cells = <1>; |
| 399 | clock-frequency = <11289600>; |
| 400 | |
| 401 | status = "okay"; |
| 402 | |
Kuninori Morimoto | 8a8f181 | 2015-12-01 05:36:34 +0000 | [diff] [blame] | 403 | /* update <audio_clk_b> to <cs2000> */ |
| 404 | clocks = <&cpg CPG_MOD 1005>, |
| 405 | <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>, |
| 406 | <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>, |
| 407 | <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>, |
| 408 | <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>, |
| 409 | <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>, |
| 410 | <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>, |
| 411 | <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>, |
| 412 | <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>, |
| 413 | <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>, |
| 414 | <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>, |
Kuninori Morimoto | c9293d7 | 2016-12-06 03:54:21 +0000 | [diff] [blame] | 415 | <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, |
Kuninori Morimoto | ad5805f | 2016-12-06 03:54:58 +0000 | [diff] [blame^] | 416 | <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, |
Kuninori Morimoto | 8a8f181 | 2015-12-01 05:36:34 +0000 | [diff] [blame] | 417 | <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>, |
| 418 | <&audio_clk_a>, <&cs2000>, |
| 419 | <&audio_clk_c>, |
| 420 | <&cpg CPG_CORE R8A7795_CLK_S0D4>; |
| 421 | |
Kuninori Morimoto | 994aadf | 2015-11-25 06:37:49 +0000 | [diff] [blame] | 422 | rcar_sound,dai { |
| 423 | dai0 { |
Kuninori Morimoto | 672b793 | 2015-11-25 06:39:13 +0000 | [diff] [blame] | 424 | playback = <&ssi0 &src0 &dvc0>; |
| 425 | capture = <&ssi1 &src1 &dvc1>; |
Kuninori Morimoto | 994aadf | 2015-11-25 06:37:49 +0000 | [diff] [blame] | 426 | }; |
| 427 | }; |
| 428 | }; |
| 429 | |
Kouei Abe | 52ee9fb | 2015-12-14 16:42:35 +0100 | [diff] [blame] | 430 | &sata { |
| 431 | status = "okay"; |
| 432 | }; |
| 433 | |
Ai Kyuse | 1c0e7b9 | 2016-02-15 16:01:50 +0100 | [diff] [blame] | 434 | &sdhi0 { |
| 435 | pinctrl-0 = <&sdhi0_pins>; |
Wolfram Sang | 2a927ee | 2016-09-13 12:56:59 +0200 | [diff] [blame] | 436 | pinctrl-1 = <&sdhi0_pins_uhs>; |
| 437 | pinctrl-names = "default", "state_uhs"; |
Ai Kyuse | 1c0e7b9 | 2016-02-15 16:01:50 +0100 | [diff] [blame] | 438 | |
| 439 | vmmc-supply = <&vcc_sdhi0>; |
| 440 | vqmmc-supply = <&vccq_sdhi0>; |
| 441 | cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>; |
| 442 | wp-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>; |
| 443 | bus-width = <4>; |
Wolfram Sang | 2a927ee | 2016-09-13 12:56:59 +0200 | [diff] [blame] | 444 | sd-uhs-sdr50; |
Ai Kyuse | 1c0e7b9 | 2016-02-15 16:01:50 +0100 | [diff] [blame] | 445 | status = "okay"; |
| 446 | }; |
| 447 | |
Wolfram Sang | 7c827d1 | 2016-10-16 10:27:47 +0200 | [diff] [blame] | 448 | &sdhi2 { |
| 449 | /* used for on-board 8bit eMMC */ |
| 450 | pinctrl-0 = <&sdhi2_pins>; |
| 451 | pinctrl-1 = <&sdhi2_pins_uhs>; |
| 452 | pinctrl-names = "default", "state_uhs"; |
| 453 | |
| 454 | vmmc-supply = <®_3p3v>; |
| 455 | vqmmc-supply = <®_1p8v>; |
| 456 | bus-width = <8>; |
| 457 | non-removable; |
| 458 | status = "okay"; |
| 459 | }; |
| 460 | |
Ai Kyuse | 1c0e7b9 | 2016-02-15 16:01:50 +0100 | [diff] [blame] | 461 | &sdhi3 { |
| 462 | pinctrl-0 = <&sdhi3_pins>; |
Wolfram Sang | 2a927ee | 2016-09-13 12:56:59 +0200 | [diff] [blame] | 463 | pinctrl-1 = <&sdhi3_pins_uhs>; |
| 464 | pinctrl-names = "default", "state_uhs"; |
Ai Kyuse | 1c0e7b9 | 2016-02-15 16:01:50 +0100 | [diff] [blame] | 465 | |
| 466 | vmmc-supply = <&vcc_sdhi3>; |
| 467 | vqmmc-supply = <&vccq_sdhi3>; |
| 468 | cd-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; |
| 469 | wp-gpios = <&gpio4 16 GPIO_ACTIVE_HIGH>; |
| 470 | bus-width = <4>; |
Wolfram Sang | 2a927ee | 2016-09-13 12:56:59 +0200 | [diff] [blame] | 471 | sd-uhs-sdr50; |
Ai Kyuse | 1c0e7b9 | 2016-02-15 16:01:50 +0100 | [diff] [blame] | 472 | status = "okay"; |
| 473 | }; |
| 474 | |
Kuninori Morimoto | 994aadf | 2015-11-25 06:37:49 +0000 | [diff] [blame] | 475 | &ssi1 { |
Kuninori Morimoto | 994aadf | 2015-11-25 06:37:49 +0000 | [diff] [blame] | 476 | shared-pin; |
| 477 | }; |
| 478 | |
Wolfram Sang | 329260d | 2016-04-01 13:56:25 +0200 | [diff] [blame] | 479 | &wdt0 { |
| 480 | timeout-sec = <60>; |
| 481 | status = "okay"; |
| 482 | }; |
| 483 | |
Kuninori Morimoto | 994aadf | 2015-11-25 06:37:49 +0000 | [diff] [blame] | 484 | &audio_clk_a { |
| 485 | clock-frequency = <22579200>; |
Kuninori Morimoto | 637d801 | 2015-10-28 08:05:28 +0900 | [diff] [blame] | 486 | }; |
| 487 | |
Kazuya Mizuguchi | 6fa501c | 2015-11-02 13:31:45 +0900 | [diff] [blame] | 488 | &avb { |
| 489 | pinctrl-0 = <&avb_pins>; |
| 490 | pinctrl-names = "default"; |
| 491 | renesas,no-ether-link; |
| 492 | phy-handle = <&phy0>; |
| 493 | status = "okay"; |
| 494 | |
| 495 | phy0: ethernet-phy@0 { |
| 496 | rxc-skew-ps = <900>; |
| 497 | rxdv-skew-ps = <0>; |
| 498 | rxd0-skew-ps = <0>; |
| 499 | rxd1-skew-ps = <0>; |
| 500 | rxd2-skew-ps = <0>; |
| 501 | rxd3-skew-ps = <0>; |
| 502 | txc-skew-ps = <900>; |
| 503 | txen-skew-ps = <0>; |
| 504 | txd0-skew-ps = <0>; |
| 505 | txd1-skew-ps = <0>; |
| 506 | txd2-skew-ps = <0>; |
| 507 | txd3-skew-ps = <0>; |
| 508 | reg = <0>; |
| 509 | interrupt-parent = <&gpio2>; |
| 510 | interrupts = <11 IRQ_TYPE_LEVEL_LOW>; |
| 511 | }; |
| 512 | }; |
Yoshihiro Shimoda | 856ea9e | 2016-01-22 19:03:23 +0900 | [diff] [blame] | 513 | |
| 514 | &xhci0 { |
| 515 | status = "okay"; |
| 516 | }; |
Yoshihiro Shimoda | e24250c | 2016-02-23 21:28:34 +0900 | [diff] [blame] | 517 | |
Yoshihiro Shimoda | a905b72 | 2016-07-21 19:46:58 +0900 | [diff] [blame] | 518 | &usb2_phy0 { |
| 519 | pinctrl-0 = <&usb0_pins>; |
| 520 | pinctrl-names = "default"; |
| 521 | |
| 522 | vbus-supply = <&vbus0_usb2>; |
| 523 | status = "okay"; |
| 524 | }; |
| 525 | |
Yoshihiro Shimoda | e24250c | 2016-02-23 21:28:34 +0900 | [diff] [blame] | 526 | &usb2_phy1 { |
| 527 | pinctrl-0 = <&usb1_pins>; |
| 528 | pinctrl-names = "default"; |
| 529 | |
| 530 | status = "okay"; |
| 531 | }; |
| 532 | |
| 533 | &usb2_phy2 { |
| 534 | pinctrl-0 = <&usb2_pins>; |
| 535 | pinctrl-names = "default"; |
| 536 | |
| 537 | status = "okay"; |
| 538 | }; |
Yoshihiro Shimoda | 474efca | 2016-02-23 21:28:35 +0900 | [diff] [blame] | 539 | |
Yoshihiro Shimoda | 34ccd78 | 2016-07-21 19:46:59 +0900 | [diff] [blame] | 540 | &ehci0 { |
| 541 | status = "okay"; |
| 542 | }; |
| 543 | |
Yoshihiro Shimoda | 474efca | 2016-02-23 21:28:35 +0900 | [diff] [blame] | 544 | &ehci1 { |
| 545 | status = "okay"; |
| 546 | }; |
| 547 | |
| 548 | &ehci2 { |
| 549 | status = "okay"; |
| 550 | }; |
| 551 | |
Yoshihiro Shimoda | 34ccd78 | 2016-07-21 19:46:59 +0900 | [diff] [blame] | 552 | &ohci0 { |
| 553 | status = "okay"; |
| 554 | }; |
| 555 | |
Yoshihiro Shimoda | 474efca | 2016-02-23 21:28:35 +0900 | [diff] [blame] | 556 | &ohci1 { |
| 557 | status = "okay"; |
| 558 | }; |
| 559 | |
| 560 | &ohci2 { |
| 561 | status = "okay"; |
| 562 | }; |
Phil Edworthy | bbd2730 | 2016-04-05 11:51:27 +0100 | [diff] [blame] | 563 | |
Yoshihiro Shimoda | 0b4dca7 | 2016-07-21 19:47:00 +0900 | [diff] [blame] | 564 | &hsusb { |
| 565 | status = "okay"; |
| 566 | }; |
| 567 | |
Phil Edworthy | bbd2730 | 2016-04-05 11:51:27 +0100 | [diff] [blame] | 568 | &pcie_bus_clk { |
Geert Uytterhoeven | 9f33a8a | 2016-04-25 16:08:30 +0200 | [diff] [blame] | 569 | clock-frequency = <100000000>; |
Phil Edworthy | bbd2730 | 2016-04-05 11:51:27 +0100 | [diff] [blame] | 570 | status = "okay"; |
| 571 | }; |
| 572 | |
| 573 | &pciec0 { |
| 574 | status = "okay"; |
| 575 | }; |
| 576 | |
| 577 | &pciec1 { |
| 578 | status = "okay"; |
| 579 | }; |