Ulrich Hecht | b8af459 | 2015-06-01 16:22:56 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the Gose board |
| 3 | * |
| 4 | * Copyright (C) 2014-2015 Renesas Electronics Corporation |
| 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 | |
Simon Horman | f8905ce | 2015-12-02 16:45:35 +0900 | [diff] [blame] | 11 | /* |
| 12 | * SSI-AK4643 |
| 13 | * |
| 14 | * SW1: 1: AK4643 |
| 15 | * 2: CN22 |
| 16 | * 3: ADV7511 |
| 17 | * |
| 18 | * This command is required when Playback/Capture |
| 19 | * |
| 20 | * amixer set "LINEOUT Mixer DACL" on |
Simon Horman | ae79f66 | 2015-12-02 16:59:44 +0900 | [diff] [blame] | 21 | * amixer set "DVC Out" 100% |
| 22 | * amixer set "DVC In" 100% |
| 23 | * |
| 24 | * You can use Mute |
| 25 | * |
| 26 | * amixer set "DVC Out Mute" on |
| 27 | * amixer set "DVC In Mute" on |
| 28 | * |
| 29 | * You can use Volume Ramp |
| 30 | * |
| 31 | * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps" |
| 32 | * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps" |
| 33 | * amixer set "DVC Out Ramp" on |
| 34 | * aplay xxx.wav & |
| 35 | * amixer set "DVC Out" 80% // Volume Down |
| 36 | * amixer set "DVC Out" 100% // Volume Up |
Simon Horman | f8905ce | 2015-12-02 16:45:35 +0900 | [diff] [blame] | 37 | */ |
Simon Horman | ae79f66 | 2015-12-02 16:59:44 +0900 | [diff] [blame] | 38 | |
Ulrich Hecht | b8af459 | 2015-06-01 16:22:56 +0200 | [diff] [blame] | 39 | /dts-v1/; |
| 40 | #include "r8a7793.dtsi" |
| 41 | #include <dt-bindings/gpio/gpio.h> |
| 42 | #include <dt-bindings/input/input.h> |
| 43 | |
| 44 | / { |
| 45 | model = "Gose"; |
| 46 | compatible = "renesas,gose", "renesas,r8a7793"; |
| 47 | |
| 48 | aliases { |
| 49 | serial0 = &scif0; |
| 50 | serial1 = &scif1; |
| 51 | }; |
| 52 | |
| 53 | chosen { |
| 54 | bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; |
Geert Uytterhoeven | 16010a3 | 2015-12-08 18:54:11 +0100 | [diff] [blame] | 55 | stdout-path = "serial0:115200n8"; |
Ulrich Hecht | b8af459 | 2015-06-01 16:22:56 +0200 | [diff] [blame] | 56 | }; |
| 57 | |
| 58 | memory@40000000 { |
| 59 | device_type = "memory"; |
| 60 | reg = <0 0x40000000 0 0x40000000>; |
| 61 | }; |
Simon Horman | d7d5974 | 2015-11-18 14:20:34 -0800 | [diff] [blame] | 62 | |
| 63 | gpio-keys { |
| 64 | compatible = "gpio-keys"; |
| 65 | |
| 66 | key-1 { |
| 67 | gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; |
| 68 | linux,code = <KEY_1>; |
| 69 | label = "SW2-1"; |
Simon Horman | c816617 | 2016-02-16 06:48:45 +0900 | [diff] [blame] | 70 | wakeup-source; |
Simon Horman | d7d5974 | 2015-11-18 14:20:34 -0800 | [diff] [blame] | 71 | debounce-interval = <20>; |
| 72 | }; |
| 73 | key-2 { |
| 74 | gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; |
| 75 | linux,code = <KEY_2>; |
| 76 | label = "SW2-2"; |
Simon Horman | c816617 | 2016-02-16 06:48:45 +0900 | [diff] [blame] | 77 | wakeup-source; |
Simon Horman | d7d5974 | 2015-11-18 14:20:34 -0800 | [diff] [blame] | 78 | debounce-interval = <20>; |
| 79 | }; |
| 80 | key-3 { |
| 81 | gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; |
| 82 | linux,code = <KEY_3>; |
| 83 | label = "SW2-3"; |
Simon Horman | c816617 | 2016-02-16 06:48:45 +0900 | [diff] [blame] | 84 | wakeup-source; |
Simon Horman | d7d5974 | 2015-11-18 14:20:34 -0800 | [diff] [blame] | 85 | debounce-interval = <20>; |
| 86 | }; |
| 87 | key-4 { |
| 88 | gpios = <&gpio5 3 GPIO_ACTIVE_LOW>; |
| 89 | linux,code = <KEY_4>; |
| 90 | label = "SW2-4"; |
Simon Horman | c816617 | 2016-02-16 06:48:45 +0900 | [diff] [blame] | 91 | wakeup-source; |
Simon Horman | d7d5974 | 2015-11-18 14:20:34 -0800 | [diff] [blame] | 92 | debounce-interval = <20>; |
| 93 | }; |
| 94 | key-a { |
| 95 | gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; |
| 96 | linux,code = <KEY_A>; |
| 97 | label = "SW30"; |
Simon Horman | c816617 | 2016-02-16 06:48:45 +0900 | [diff] [blame] | 98 | wakeup-source; |
Simon Horman | d7d5974 | 2015-11-18 14:20:34 -0800 | [diff] [blame] | 99 | debounce-interval = <20>; |
| 100 | }; |
| 101 | key-b { |
| 102 | gpios = <&gpio7 1 GPIO_ACTIVE_LOW>; |
| 103 | linux,code = <KEY_B>; |
| 104 | label = "SW31"; |
Simon Horman | c816617 | 2016-02-16 06:48:45 +0900 | [diff] [blame] | 105 | wakeup-source; |
Simon Horman | d7d5974 | 2015-11-18 14:20:34 -0800 | [diff] [blame] | 106 | debounce-interval = <20>; |
| 107 | }; |
| 108 | key-c { |
| 109 | gpios = <&gpio7 2 GPIO_ACTIVE_LOW>; |
| 110 | linux,code = <KEY_C>; |
| 111 | label = "SW32"; |
Simon Horman | c816617 | 2016-02-16 06:48:45 +0900 | [diff] [blame] | 112 | wakeup-source; |
Simon Horman | d7d5974 | 2015-11-18 14:20:34 -0800 | [diff] [blame] | 113 | debounce-interval = <20>; |
| 114 | }; |
| 115 | key-d { |
| 116 | gpios = <&gpio7 3 GPIO_ACTIVE_LOW>; |
| 117 | linux,code = <KEY_D>; |
| 118 | label = "SW33"; |
Simon Horman | c816617 | 2016-02-16 06:48:45 +0900 | [diff] [blame] | 119 | wakeup-source; |
Simon Horman | d7d5974 | 2015-11-18 14:20:34 -0800 | [diff] [blame] | 120 | debounce-interval = <20>; |
| 121 | }; |
| 122 | key-e { |
| 123 | gpios = <&gpio7 4 GPIO_ACTIVE_LOW>; |
| 124 | linux,code = <KEY_E>; |
| 125 | label = "SW34"; |
Simon Horman | c816617 | 2016-02-16 06:48:45 +0900 | [diff] [blame] | 126 | wakeup-source; |
Simon Horman | d7d5974 | 2015-11-18 14:20:34 -0800 | [diff] [blame] | 127 | debounce-interval = <20>; |
| 128 | }; |
| 129 | key-f { |
| 130 | gpios = <&gpio7 5 GPIO_ACTIVE_LOW>; |
| 131 | linux,code = <KEY_F>; |
| 132 | label = "SW35"; |
Simon Horman | c816617 | 2016-02-16 06:48:45 +0900 | [diff] [blame] | 133 | wakeup-source; |
Simon Horman | d7d5974 | 2015-11-18 14:20:34 -0800 | [diff] [blame] | 134 | debounce-interval = <20>; |
| 135 | }; |
| 136 | key-g { |
| 137 | gpios = <&gpio7 6 GPIO_ACTIVE_LOW>; |
| 138 | linux,code = <KEY_G>; |
| 139 | label = "SW36"; |
Simon Horman | c816617 | 2016-02-16 06:48:45 +0900 | [diff] [blame] | 140 | wakeup-source; |
Simon Horman | d7d5974 | 2015-11-18 14:20:34 -0800 | [diff] [blame] | 141 | debounce-interval = <20>; |
| 142 | }; |
| 143 | }; |
Simon Horman | 3b18d85 | 2015-11-18 14:20:35 -0800 | [diff] [blame] | 144 | |
| 145 | leds { |
| 146 | compatible = "gpio-leds"; |
| 147 | led6 { |
| 148 | gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>; |
| 149 | label = "LED6"; |
| 150 | }; |
| 151 | led7 { |
| 152 | gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>; |
| 153 | label = "LED7"; |
| 154 | }; |
| 155 | led8 { |
| 156 | gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; |
| 157 | label = "LED8"; |
| 158 | }; |
| 159 | }; |
Magnus Damm | 8871eb0 | 2016-01-18 20:03:10 +0900 | [diff] [blame] | 160 | |
Geert Uytterhoeven | b6dfc0d | 2016-05-20 09:10:05 +0200 | [diff] [blame] | 161 | vcc_sdhi0: regulator-vcc-sdhi0 { |
Ulrich Hecht | 6f92cb2 | 2016-04-18 18:02:57 +0200 | [diff] [blame] | 162 | compatible = "regulator-fixed"; |
| 163 | |
| 164 | regulator-name = "SDHI0 Vcc"; |
| 165 | regulator-min-microvolt = <3300000>; |
| 166 | regulator-max-microvolt = <3300000>; |
| 167 | |
| 168 | gpio = <&gpio7 17 GPIO_ACTIVE_HIGH>; |
| 169 | enable-active-high; |
| 170 | }; |
| 171 | |
Geert Uytterhoeven | b6dfc0d | 2016-05-20 09:10:05 +0200 | [diff] [blame] | 172 | vccq_sdhi0: regulator-vccq-sdhi0 { |
Ulrich Hecht | 6f92cb2 | 2016-04-18 18:02:57 +0200 | [diff] [blame] | 173 | compatible = "regulator-gpio"; |
| 174 | |
| 175 | regulator-name = "SDHI0 VccQ"; |
| 176 | regulator-min-microvolt = <1800000>; |
| 177 | regulator-max-microvolt = <3300000>; |
| 178 | |
| 179 | gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>; |
| 180 | gpios-states = <1>; |
| 181 | states = <3300000 1 |
| 182 | 1800000 0>; |
| 183 | }; |
| 184 | |
Geert Uytterhoeven | b6dfc0d | 2016-05-20 09:10:05 +0200 | [diff] [blame] | 185 | vcc_sdhi1: regulator-vcc-sdhi1 { |
Ulrich Hecht | 6f92cb2 | 2016-04-18 18:02:57 +0200 | [diff] [blame] | 186 | compatible = "regulator-fixed"; |
| 187 | |
| 188 | regulator-name = "SDHI1 Vcc"; |
| 189 | regulator-min-microvolt = <3300000>; |
| 190 | regulator-max-microvolt = <3300000>; |
| 191 | |
| 192 | gpio = <&gpio7 18 GPIO_ACTIVE_HIGH>; |
| 193 | enable-active-high; |
| 194 | }; |
| 195 | |
Geert Uytterhoeven | b6dfc0d | 2016-05-20 09:10:05 +0200 | [diff] [blame] | 196 | vccq_sdhi1: regulator-vccq-sdhi1 { |
Ulrich Hecht | 6f92cb2 | 2016-04-18 18:02:57 +0200 | [diff] [blame] | 197 | compatible = "regulator-gpio"; |
| 198 | |
| 199 | regulator-name = "SDHI1 VccQ"; |
| 200 | regulator-min-microvolt = <1800000>; |
| 201 | regulator-max-microvolt = <3300000>; |
| 202 | |
| 203 | gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>; |
| 204 | gpios-states = <1>; |
| 205 | states = <3300000 1 |
| 206 | 1800000 0>; |
| 207 | }; |
| 208 | |
Geert Uytterhoeven | b6dfc0d | 2016-05-20 09:10:05 +0200 | [diff] [blame] | 209 | vcc_sdhi2: regulator-vcc-sdhi2 { |
Ulrich Hecht | 6f92cb2 | 2016-04-18 18:02:57 +0200 | [diff] [blame] | 210 | compatible = "regulator-fixed"; |
| 211 | |
| 212 | regulator-name = "SDHI2 Vcc"; |
| 213 | regulator-min-microvolt = <3300000>; |
| 214 | regulator-max-microvolt = <3300000>; |
| 215 | |
| 216 | gpio = <&gpio7 19 GPIO_ACTIVE_HIGH>; |
| 217 | enable-active-high; |
| 218 | }; |
| 219 | |
Geert Uytterhoeven | b6dfc0d | 2016-05-20 09:10:05 +0200 | [diff] [blame] | 220 | vccq_sdhi2: regulator-vccq-sdhi2 { |
Ulrich Hecht | 6f92cb2 | 2016-04-18 18:02:57 +0200 | [diff] [blame] | 221 | compatible = "regulator-gpio"; |
| 222 | |
| 223 | regulator-name = "SDHI2 VccQ"; |
| 224 | regulator-min-microvolt = <1800000>; |
| 225 | regulator-max-microvolt = <3300000>; |
| 226 | |
| 227 | gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; |
| 228 | gpios-states = <1>; |
| 229 | states = <3300000 1 |
| 230 | 1800000 0>; |
| 231 | }; |
| 232 | |
Simon Horman | 45e4f51 | 2016-03-18 08:17:57 +0900 | [diff] [blame] | 233 | audio_clock: audio_clock { |
Simon Horman | f8905ce | 2015-12-02 16:45:35 +0900 | [diff] [blame] | 234 | compatible = "fixed-clock"; |
| 235 | #clock-cells = <0>; |
| 236 | clock-frequency = <11289600>; |
Simon Horman | f8905ce | 2015-12-02 16:45:35 +0900 | [diff] [blame] | 237 | }; |
| 238 | |
| 239 | rsnd_ak4643: sound { |
| 240 | compatible = "simple-audio-card"; |
| 241 | |
| 242 | simple-audio-card,format = "left_j"; |
| 243 | simple-audio-card,bitclock-master = <&sndcodec>; |
| 244 | simple-audio-card,frame-master = <&sndcodec>; |
| 245 | |
| 246 | sndcpu: simple-audio-card,cpu { |
| 247 | sound-dai = <&rcar_sound>; |
| 248 | }; |
| 249 | |
| 250 | sndcodec: simple-audio-card,codec { |
| 251 | sound-dai = <&ak4643>; |
| 252 | clocks = <&audio_clock>; |
| 253 | }; |
| 254 | }; |
| 255 | |
Magnus Damm | 8871eb0 | 2016-01-18 20:03:10 +0900 | [diff] [blame] | 256 | hdmi-out { |
| 257 | compatible = "hdmi-connector"; |
| 258 | type = "a"; |
| 259 | |
| 260 | port { |
| 261 | hdmi_con: endpoint { |
| 262 | remote-endpoint = <&adv7511_out>; |
| 263 | }; |
| 264 | }; |
| 265 | }; |
| 266 | |
| 267 | x2_clk: x2-clock { |
| 268 | compatible = "fixed-clock"; |
| 269 | #clock-cells = <0>; |
| 270 | clock-frequency = <74250000>; |
| 271 | }; |
| 272 | |
| 273 | x13_clk: x13-clock { |
| 274 | compatible = "fixed-clock"; |
| 275 | #clock-cells = <0>; |
| 276 | clock-frequency = <148500000>; |
| 277 | }; |
| 278 | }; |
| 279 | |
| 280 | &du { |
| 281 | pinctrl-0 = <&du_pins>; |
| 282 | pinctrl-names = "default"; |
| 283 | status = "okay"; |
| 284 | |
| 285 | clocks = <&mstp7_clks R8A7793_CLK_DU0>, |
| 286 | <&mstp7_clks R8A7793_CLK_DU1>, |
| 287 | <&mstp7_clks R8A7793_CLK_LVDS0>, |
| 288 | <&x13_clk>, <&x2_clk>; |
| 289 | clock-names = "du.0", "du.1", "lvds.0", |
| 290 | "dclkin.0", "dclkin.1"; |
| 291 | |
| 292 | ports { |
| 293 | port@0 { |
| 294 | endpoint { |
| 295 | remote-endpoint = <&adv7511_in>; |
| 296 | }; |
| 297 | }; |
| 298 | port@1 { |
| 299 | lvds_connector: endpoint { |
| 300 | }; |
| 301 | }; |
| 302 | }; |
Ulrich Hecht | b8af459 | 2015-06-01 16:22:56 +0200 | [diff] [blame] | 303 | }; |
| 304 | |
| 305 | &extal_clk { |
| 306 | clock-frequency = <20000000>; |
| 307 | }; |
| 308 | |
Simon Horman | a81f050 | 2015-11-09 10:33:19 +0900 | [diff] [blame] | 309 | &pfc { |
Geert Uytterhoeven | 81a81ba | 2016-01-29 11:17:20 +0100 | [diff] [blame] | 310 | pinctrl-0 = <&scif_clk_pins>; |
| 311 | pinctrl-names = "default"; |
| 312 | |
Simon Horman | f6890af | 2016-01-05 09:16:20 +1100 | [diff] [blame] | 313 | i2c2_pins: i2c2 { |
Simon Horman | 2e207c1 | 2016-03-18 07:55:47 +0900 | [diff] [blame] | 314 | groups = "i2c2"; |
| 315 | function = "i2c2"; |
Simon Horman | f6890af | 2016-01-05 09:16:20 +1100 | [diff] [blame] | 316 | }; |
| 317 | |
Magnus Damm | 8871eb0 | 2016-01-18 20:03:10 +0900 | [diff] [blame] | 318 | du_pins: du { |
Simon Horman | 2e207c1 | 2016-03-18 07:55:47 +0900 | [diff] [blame] | 319 | groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0"; |
| 320 | function = "du"; |
Magnus Damm | 8871eb0 | 2016-01-18 20:03:10 +0900 | [diff] [blame] | 321 | }; |
| 322 | |
Geert Uytterhoeven | 167d34a | 2016-06-10 15:00:59 +0200 | [diff] [blame] | 323 | scif0_pins: scif0 { |
Simon Horman | 2e207c1 | 2016-03-18 07:55:47 +0900 | [diff] [blame] | 324 | groups = "scif0_data_d"; |
| 325 | function = "scif0"; |
Simon Horman | a81f050 | 2015-11-09 10:33:19 +0900 | [diff] [blame] | 326 | }; |
| 327 | |
Geert Uytterhoeven | 167d34a | 2016-06-10 15:00:59 +0200 | [diff] [blame] | 328 | scif1_pins: scif1 { |
Simon Horman | 2e207c1 | 2016-03-18 07:55:47 +0900 | [diff] [blame] | 329 | groups = "scif1_data_d"; |
| 330 | function = "scif1"; |
Simon Horman | a81f050 | 2015-11-09 10:33:19 +0900 | [diff] [blame] | 331 | }; |
| 332 | |
Geert Uytterhoeven | 81a81ba | 2016-01-29 11:17:20 +0100 | [diff] [blame] | 333 | scif_clk_pins: scif_clk { |
Simon Horman | 2e207c1 | 2016-03-18 07:55:47 +0900 | [diff] [blame] | 334 | groups = "scif_clk"; |
| 335 | function = "scif_clk"; |
Geert Uytterhoeven | 81a81ba | 2016-01-29 11:17:20 +0100 | [diff] [blame] | 336 | }; |
| 337 | |
Simon Horman | a81f050 | 2015-11-09 10:33:19 +0900 | [diff] [blame] | 338 | ether_pins: ether { |
Simon Horman | 2e207c1 | 2016-03-18 07:55:47 +0900 | [diff] [blame] | 339 | groups = "eth_link", "eth_mdio", "eth_rmii"; |
| 340 | function = "eth"; |
Simon Horman | a81f050 | 2015-11-09 10:33:19 +0900 | [diff] [blame] | 341 | }; |
| 342 | |
| 343 | phy1_pins: phy1 { |
Simon Horman | 2e207c1 | 2016-03-18 07:55:47 +0900 | [diff] [blame] | 344 | groups = "intc_irq0"; |
| 345 | function = "intc"; |
Simon Horman | a81f050 | 2015-11-09 10:33:19 +0900 | [diff] [blame] | 346 | }; |
Simon Horman | 6380d62 | 2015-11-12 10:29:23 +0900 | [diff] [blame] | 347 | |
Ulrich Hecht | 6f92cb2 | 2016-04-18 18:02:57 +0200 | [diff] [blame] | 348 | sdhi0_pins: sd0 { |
Simon Horman | af89725 | 2016-09-16 12:04:54 +0200 | [diff] [blame] | 349 | groups = "sdhi0_data4", "sdhi0_ctrl"; |
| 350 | function = "sdhi0"; |
Ulrich Hecht | 6f92cb2 | 2016-04-18 18:02:57 +0200 | [diff] [blame] | 351 | }; |
| 352 | |
| 353 | sdhi1_pins: sd1 { |
Simon Horman | af89725 | 2016-09-16 12:04:54 +0200 | [diff] [blame] | 354 | groups = "sdhi1_data4", "sdhi1_ctrl"; |
| 355 | function = "sdhi1"; |
Ulrich Hecht | 6f92cb2 | 2016-04-18 18:02:57 +0200 | [diff] [blame] | 356 | }; |
| 357 | |
| 358 | sdhi2_pins: sd2 { |
Simon Horman | af89725 | 2016-09-16 12:04:54 +0200 | [diff] [blame] | 359 | groups = "sdhi2_data4", "sdhi2_ctrl"; |
| 360 | function = "sdhi2"; |
Ulrich Hecht | 6f92cb2 | 2016-04-18 18:02:57 +0200 | [diff] [blame] | 361 | }; |
| 362 | |
Geert Uytterhoeven | 740f5c8 | 2016-06-10 15:01:00 +0200 | [diff] [blame] | 363 | qspi_pins: qspi { |
Simon Horman | 2e207c1 | 2016-03-18 07:55:47 +0900 | [diff] [blame] | 364 | groups = "qspi_ctrl", "qspi_data4"; |
| 365 | function = "qspi"; |
Simon Horman | 6380d62 | 2015-11-12 10:29:23 +0900 | [diff] [blame] | 366 | }; |
Simon Horman | f8905ce | 2015-12-02 16:45:35 +0900 | [diff] [blame] | 367 | |
| 368 | sound_pins: sound { |
Simon Horman | 2e207c1 | 2016-03-18 07:55:47 +0900 | [diff] [blame] | 369 | groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data"; |
| 370 | function = "ssi"; |
Simon Horman | f8905ce | 2015-12-02 16:45:35 +0900 | [diff] [blame] | 371 | }; |
| 372 | |
| 373 | sound_clk_pins: sound_clk { |
Simon Horman | 2e207c1 | 2016-03-18 07:55:47 +0900 | [diff] [blame] | 374 | groups = "audio_clk_a"; |
| 375 | function = "audio_clk"; |
Simon Horman | f8905ce | 2015-12-02 16:45:35 +0900 | [diff] [blame] | 376 | }; |
Simon Horman | a81f050 | 2015-11-09 10:33:19 +0900 | [diff] [blame] | 377 | }; |
| 378 | |
Ulrich Hecht | b8af459 | 2015-06-01 16:22:56 +0200 | [diff] [blame] | 379 | ðer { |
Simon Horman | a81f050 | 2015-11-09 10:33:19 +0900 | [diff] [blame] | 380 | pinctrl-0 = <ðer_pins &phy1_pins>; |
| 381 | pinctrl-names = "default"; |
| 382 | |
Ulrich Hecht | b8af459 | 2015-06-01 16:22:56 +0200 | [diff] [blame] | 383 | phy-handle = <&phy1>; |
| 384 | renesas,ether-link-active-low; |
| 385 | status = "okay"; |
| 386 | |
| 387 | phy1: ethernet-phy@1 { |
| 388 | reg = <1>; |
| 389 | interrupt-parent = <&irqc0>; |
| 390 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; |
| 391 | micrel,led-mode = <1>; |
| 392 | }; |
| 393 | }; |
| 394 | |
| 395 | &cmt0 { |
| 396 | status = "okay"; |
| 397 | }; |
| 398 | |
| 399 | &scif0 { |
Simon Horman | a81f050 | 2015-11-09 10:33:19 +0900 | [diff] [blame] | 400 | pinctrl-0 = <&scif0_pins>; |
| 401 | pinctrl-names = "default"; |
| 402 | |
Ulrich Hecht | b8af459 | 2015-06-01 16:22:56 +0200 | [diff] [blame] | 403 | status = "okay"; |
| 404 | }; |
| 405 | |
| 406 | &scif1 { |
Simon Horman | a81f050 | 2015-11-09 10:33:19 +0900 | [diff] [blame] | 407 | pinctrl-0 = <&scif1_pins>; |
| 408 | pinctrl-names = "default"; |
| 409 | |
Ulrich Hecht | b8af459 | 2015-06-01 16:22:56 +0200 | [diff] [blame] | 410 | status = "okay"; |
| 411 | }; |
Simon Horman | 6380d62 | 2015-11-12 10:29:23 +0900 | [diff] [blame] | 412 | |
Geert Uytterhoeven | 81a81ba | 2016-01-29 11:17:20 +0100 | [diff] [blame] | 413 | &scif_clk { |
| 414 | clock-frequency = <14745600>; |
Geert Uytterhoeven | 81a81ba | 2016-01-29 11:17:20 +0100 | [diff] [blame] | 415 | }; |
| 416 | |
Ulrich Hecht | 6f92cb2 | 2016-04-18 18:02:57 +0200 | [diff] [blame] | 417 | &sdhi0 { |
| 418 | pinctrl-0 = <&sdhi0_pins>; |
| 419 | pinctrl-names = "default"; |
| 420 | |
| 421 | vmmc-supply = <&vcc_sdhi0>; |
| 422 | vqmmc-supply = <&vccq_sdhi0>; |
| 423 | cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>; |
| 424 | wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; |
| 425 | status = "okay"; |
| 426 | }; |
| 427 | |
| 428 | &sdhi1 { |
| 429 | pinctrl-0 = <&sdhi1_pins>; |
| 430 | pinctrl-names = "default"; |
| 431 | |
| 432 | vmmc-supply = <&vcc_sdhi1>; |
| 433 | vqmmc-supply = <&vccq_sdhi1>; |
| 434 | cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>; |
| 435 | wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>; |
| 436 | status = "okay"; |
| 437 | }; |
| 438 | |
| 439 | &sdhi2 { |
| 440 | pinctrl-0 = <&sdhi2_pins>; |
| 441 | pinctrl-names = "default"; |
| 442 | |
| 443 | vmmc-supply = <&vcc_sdhi2>; |
| 444 | vqmmc-supply = <&vccq_sdhi2>; |
| 445 | cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>; |
| 446 | status = "okay"; |
| 447 | }; |
| 448 | |
Simon Horman | 6380d62 | 2015-11-12 10:29:23 +0900 | [diff] [blame] | 449 | &qspi { |
| 450 | pinctrl-0 = <&qspi_pins>; |
| 451 | pinctrl-names = "default"; |
| 452 | |
| 453 | status = "okay"; |
| 454 | |
| 455 | flash@0 { |
| 456 | compatible = "spansion,s25fl512s", "jedec,spi-nor"; |
| 457 | reg = <0>; |
| 458 | spi-max-frequency = <30000000>; |
| 459 | spi-tx-bus-width = <4>; |
| 460 | spi-rx-bus-width = <4>; |
| 461 | spi-cpol; |
| 462 | spi-cpha; |
| 463 | m25p,fast-read; |
| 464 | |
| 465 | partitions { |
Geert Uytterhoeven | e5e6f9b | 2015-12-21 11:33:51 +0100 | [diff] [blame] | 466 | compatible = "fixed-partitions"; |
Simon Horman | 6380d62 | 2015-11-12 10:29:23 +0900 | [diff] [blame] | 467 | #address-cells = <1>; |
| 468 | #size-cells = <1>; |
| 469 | |
| 470 | partition@0 { |
| 471 | label = "loader"; |
| 472 | reg = <0x00000000 0x00040000>; |
| 473 | read-only; |
| 474 | }; |
| 475 | partition@40000 { |
| 476 | label = "user"; |
| 477 | reg = <0x00040000 0x00400000>; |
| 478 | read-only; |
| 479 | }; |
| 480 | partition@440000 { |
| 481 | label = "flash"; |
| 482 | reg = <0x00440000 0x03bc0000>; |
| 483 | }; |
| 484 | }; |
| 485 | }; |
| 486 | }; |
Simon Horman | f6890af | 2016-01-05 09:16:20 +1100 | [diff] [blame] | 487 | |
| 488 | &i2c2 { |
| 489 | pinctrl-0 = <&i2c2_pins>; |
| 490 | pinctrl-names = "default"; |
| 491 | |
| 492 | status = "okay"; |
| 493 | clock-frequency = <100000>; |
| 494 | |
Simon Horman | f8905ce | 2015-12-02 16:45:35 +0900 | [diff] [blame] | 495 | ak4643: codec@12 { |
| 496 | compatible = "asahi-kasei,ak4643"; |
| 497 | #sound-dai-cells = <0>; |
| 498 | reg = <0x12>; |
| 499 | }; |
| 500 | |
Magnus Damm | 8871eb0 | 2016-01-18 20:03:10 +0900 | [diff] [blame] | 501 | hdmi@39 { |
| 502 | compatible = "adi,adv7511w"; |
| 503 | reg = <0x39>; |
| 504 | interrupt-parent = <&gpio3>; |
| 505 | interrupts = <29 IRQ_TYPE_LEVEL_LOW>; |
| 506 | |
| 507 | adi,input-depth = <8>; |
| 508 | adi,input-colorspace = "rgb"; |
| 509 | adi,input-clock = "1x"; |
| 510 | adi,input-style = <1>; |
| 511 | adi,input-justification = "evenly"; |
| 512 | |
| 513 | ports { |
| 514 | #address-cells = <1>; |
| 515 | #size-cells = <0>; |
| 516 | |
| 517 | port@0 { |
| 518 | reg = <0>; |
| 519 | adv7511_in: endpoint { |
| 520 | remote-endpoint = <&du_out_rgb>; |
| 521 | }; |
| 522 | }; |
| 523 | |
| 524 | port@1 { |
| 525 | reg = <1>; |
| 526 | adv7511_out: endpoint { |
| 527 | remote-endpoint = <&hdmi_con>; |
| 528 | }; |
| 529 | }; |
| 530 | }; |
| 531 | }; |
| 532 | |
Simon Horman | f6890af | 2016-01-05 09:16:20 +1100 | [diff] [blame] | 533 | eeprom@50 { |
| 534 | compatible = "renesas,r1ex24002", "atmel,24c02"; |
| 535 | reg = <0x50>; |
| 536 | pagesize = <16>; |
| 537 | }; |
| 538 | }; |
Simon Horman | f8905ce | 2015-12-02 16:45:35 +0900 | [diff] [blame] | 539 | |
Geert Uytterhoeven | c20839a | 2016-11-17 19:37:46 +0100 | [diff] [blame] | 540 | &i2c6 { |
| 541 | status = "okay"; |
| 542 | clock-frequency = <100000>; |
| 543 | |
| 544 | pmic@58 { |
| 545 | compatible = "dlg,da9063"; |
| 546 | reg = <0x58>; |
| 547 | interrupt-parent = <&irqc0>; |
| 548 | interrupts = <2 IRQ_TYPE_LEVEL_LOW>; |
| 549 | interrupt-controller; |
| 550 | |
| 551 | rtc { |
| 552 | compatible = "dlg,da9063-rtc"; |
| 553 | }; |
| 554 | |
| 555 | wdt { |
| 556 | compatible = "dlg,da9063-watchdog"; |
| 557 | }; |
| 558 | }; |
| 559 | }; |
| 560 | |
Simon Horman | f8905ce | 2015-12-02 16:45:35 +0900 | [diff] [blame] | 561 | &rcar_sound { |
| 562 | pinctrl-0 = <&sound_pins &sound_clk_pins>; |
| 563 | pinctrl-names = "default"; |
| 564 | |
| 565 | /* Single DAI */ |
| 566 | #sound-dai-cells = <0>; |
| 567 | |
| 568 | status = "okay"; |
| 569 | |
| 570 | rcar_sound,dai { |
| 571 | dai0 { |
Simon Horman | ae79f66 | 2015-12-02 16:59:44 +0900 | [diff] [blame] | 572 | playback = <&ssi0 &src2 &dvc0>; |
| 573 | capture = <&ssi1 &src3 &dvc1>; |
Simon Horman | f8905ce | 2015-12-02 16:45:35 +0900 | [diff] [blame] | 574 | }; |
| 575 | }; |
| 576 | }; |
| 577 | |
Simon Horman | f8905ce | 2015-12-02 16:45:35 +0900 | [diff] [blame] | 578 | &ssi1 { |
Simon Horman | f8905ce | 2015-12-02 16:45:35 +0900 | [diff] [blame] | 579 | shared-pin; |
| 580 | }; |