1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/* 3724ba675SRob Herring * Device Tree Source for the Gose board 4724ba675SRob Herring * 5724ba675SRob Herring * Copyright (C) 2014-2015 Renesas Electronics Corporation 6724ba675SRob Herring */ 7724ba675SRob Herring 8724ba675SRob Herring/* 9724ba675SRob Herring * SSI-AK4643 10724ba675SRob Herring * 11724ba675SRob Herring * SW1: 1: AK4643 12724ba675SRob Herring * 2: CN22 13724ba675SRob Herring * 3: ADV7511 14724ba675SRob Herring * 15724ba675SRob Herring * This command is required when Playback/Capture 16724ba675SRob Herring * 17724ba675SRob Herring * amixer set "LINEOUT Mixer DACL" on 18724ba675SRob Herring * amixer set "DVC Out" 100% 19724ba675SRob Herring * amixer set "DVC In" 100% 20724ba675SRob Herring * 21724ba675SRob Herring * You can use Mute 22724ba675SRob Herring * 23724ba675SRob Herring * amixer set "DVC Out Mute" on 24724ba675SRob Herring * amixer set "DVC In Mute" on 25724ba675SRob Herring * 26724ba675SRob Herring * You can use Volume Ramp 27724ba675SRob Herring * 28724ba675SRob Herring * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps" 29724ba675SRob Herring * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps" 30724ba675SRob Herring * amixer set "DVC Out Ramp" on 31724ba675SRob Herring * aplay xxx.wav & 32724ba675SRob Herring * amixer set "DVC Out" 80% // Volume Down 33724ba675SRob Herring * amixer set "DVC Out" 100% // Volume Up 34724ba675SRob Herring */ 35724ba675SRob Herring 36724ba675SRob Herring/dts-v1/; 37724ba675SRob Herring#include "r8a7793.dtsi" 38724ba675SRob Herring#include <dt-bindings/gpio/gpio.h> 39724ba675SRob Herring#include <dt-bindings/input/input.h> 40724ba675SRob Herring 41724ba675SRob Herring/ { 42724ba675SRob Herring model = "Gose"; 43724ba675SRob Herring compatible = "renesas,gose", "renesas,r8a7793"; 44724ba675SRob Herring 45724ba675SRob Herring aliases { 46724ba675SRob Herring serial0 = &scif0; 47724ba675SRob Herring serial1 = &scif1; 48724ba675SRob Herring i2c9 = &gpioi2c2; 49724ba675SRob Herring i2c10 = &gpioi2c4; 50724ba675SRob Herring i2c11 = &i2chdmi; 51724ba675SRob Herring i2c12 = &i2cexio4; 52724ba675SRob Herring mmc0 = &sdhi0; 53724ba675SRob Herring mmc1 = &sdhi1; 54724ba675SRob Herring mmc2 = &sdhi2; 55724ba675SRob Herring }; 56724ba675SRob Herring 57724ba675SRob Herring chosen { 58724ba675SRob Herring bootargs = "ignore_loglevel rw root=/dev/nfs ip=on"; 59724ba675SRob Herring stdout-path = "serial0:115200n8"; 60724ba675SRob Herring }; 61724ba675SRob Herring 62724ba675SRob Herring memory@40000000 { 63724ba675SRob Herring device_type = "memory"; 64724ba675SRob Herring reg = <0 0x40000000 0 0x40000000>; 65724ba675SRob Herring }; 66724ba675SRob Herring 67724ba675SRob Herring keyboard { 68724ba675SRob Herring compatible = "gpio-keys"; 69724ba675SRob Herring 70724ba675SRob Herring pinctrl-0 = <&keyboard_pins>; 71724ba675SRob Herring pinctrl-names = "default"; 72724ba675SRob Herring 73724ba675SRob Herring key-1 { 74724ba675SRob Herring gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; 75724ba675SRob Herring linux,code = <KEY_1>; 76724ba675SRob Herring label = "SW2-1"; 77724ba675SRob Herring wakeup-source; 78724ba675SRob Herring debounce-interval = <20>; 79724ba675SRob Herring }; 80724ba675SRob Herring key-2 { 81724ba675SRob Herring gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; 82724ba675SRob Herring linux,code = <KEY_2>; 83724ba675SRob Herring label = "SW2-2"; 84724ba675SRob Herring wakeup-source; 85724ba675SRob Herring debounce-interval = <20>; 86724ba675SRob Herring }; 87724ba675SRob Herring key-3 { 88724ba675SRob Herring gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; 89724ba675SRob Herring linux,code = <KEY_3>; 90724ba675SRob Herring label = "SW2-3"; 91724ba675SRob Herring wakeup-source; 92724ba675SRob Herring debounce-interval = <20>; 93724ba675SRob Herring }; 94724ba675SRob Herring key-4 { 95724ba675SRob Herring gpios = <&gpio5 3 GPIO_ACTIVE_LOW>; 96724ba675SRob Herring linux,code = <KEY_4>; 97724ba675SRob Herring label = "SW2-4"; 98724ba675SRob Herring wakeup-source; 99724ba675SRob Herring debounce-interval = <20>; 100724ba675SRob Herring }; 101724ba675SRob Herring key-a { 102724ba675SRob Herring gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; 103724ba675SRob Herring linux,code = <KEY_A>; 104724ba675SRob Herring label = "SW30"; 105724ba675SRob Herring wakeup-source; 106724ba675SRob Herring debounce-interval = <20>; 107724ba675SRob Herring }; 108724ba675SRob Herring key-b { 109724ba675SRob Herring gpios = <&gpio7 1 GPIO_ACTIVE_LOW>; 110724ba675SRob Herring linux,code = <KEY_B>; 111724ba675SRob Herring label = "SW31"; 112724ba675SRob Herring wakeup-source; 113724ba675SRob Herring debounce-interval = <20>; 114724ba675SRob Herring }; 115724ba675SRob Herring key-c { 116724ba675SRob Herring gpios = <&gpio7 2 GPIO_ACTIVE_LOW>; 117724ba675SRob Herring linux,code = <KEY_C>; 118724ba675SRob Herring label = "SW32"; 119724ba675SRob Herring wakeup-source; 120724ba675SRob Herring debounce-interval = <20>; 121724ba675SRob Herring }; 122724ba675SRob Herring key-d { 123724ba675SRob Herring gpios = <&gpio7 3 GPIO_ACTIVE_LOW>; 124724ba675SRob Herring linux,code = <KEY_D>; 125724ba675SRob Herring label = "SW33"; 126724ba675SRob Herring wakeup-source; 127724ba675SRob Herring debounce-interval = <20>; 128724ba675SRob Herring }; 129724ba675SRob Herring key-e { 130724ba675SRob Herring gpios = <&gpio7 4 GPIO_ACTIVE_LOW>; 131724ba675SRob Herring linux,code = <KEY_E>; 132724ba675SRob Herring label = "SW34"; 133724ba675SRob Herring wakeup-source; 134724ba675SRob Herring debounce-interval = <20>; 135724ba675SRob Herring }; 136724ba675SRob Herring key-f { 137724ba675SRob Herring gpios = <&gpio7 5 GPIO_ACTIVE_LOW>; 138724ba675SRob Herring linux,code = <KEY_F>; 139724ba675SRob Herring label = "SW35"; 140724ba675SRob Herring wakeup-source; 141724ba675SRob Herring debounce-interval = <20>; 142724ba675SRob Herring }; 143724ba675SRob Herring key-g { 144724ba675SRob Herring gpios = <&gpio7 6 GPIO_ACTIVE_LOW>; 145724ba675SRob Herring linux,code = <KEY_G>; 146724ba675SRob Herring label = "SW36"; 147724ba675SRob Herring wakeup-source; 148724ba675SRob Herring debounce-interval = <20>; 149724ba675SRob Herring }; 150724ba675SRob Herring }; 151724ba675SRob Herring 152724ba675SRob Herring leds { 153724ba675SRob Herring compatible = "gpio-leds"; 154724ba675SRob Herring led6 { 155724ba675SRob Herring gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>; 156724ba675SRob Herring label = "LED6"; 157724ba675SRob Herring }; 158724ba675SRob Herring led7 { 159724ba675SRob Herring gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>; 160724ba675SRob Herring label = "LED7"; 161724ba675SRob Herring }; 162724ba675SRob Herring led8 { 163724ba675SRob Herring gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; 164724ba675SRob Herring label = "LED8"; 165724ba675SRob Herring }; 166724ba675SRob Herring }; 167724ba675SRob Herring 168724ba675SRob Herring vcc_sdhi0: regulator-vcc-sdhi0 { 169724ba675SRob Herring compatible = "regulator-fixed"; 170724ba675SRob Herring 171724ba675SRob Herring regulator-name = "SDHI0 Vcc"; 172724ba675SRob Herring regulator-min-microvolt = <3300000>; 173724ba675SRob Herring regulator-max-microvolt = <3300000>; 174724ba675SRob Herring 175724ba675SRob Herring gpio = <&gpio7 17 GPIO_ACTIVE_HIGH>; 176724ba675SRob Herring enable-active-high; 177724ba675SRob Herring }; 178724ba675SRob Herring 179724ba675SRob Herring vccq_sdhi0: regulator-vccq-sdhi0 { 180724ba675SRob Herring compatible = "regulator-gpio"; 181724ba675SRob Herring 182724ba675SRob Herring regulator-name = "SDHI0 VccQ"; 183724ba675SRob Herring regulator-min-microvolt = <1800000>; 184724ba675SRob Herring regulator-max-microvolt = <3300000>; 185724ba675SRob Herring 186724ba675SRob Herring gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>; 187724ba675SRob Herring gpios-states = <1>; 188724ba675SRob Herring states = <3300000 1>, <1800000 0>; 189724ba675SRob Herring }; 190724ba675SRob Herring 191724ba675SRob Herring vcc_sdhi1: regulator-vcc-sdhi1 { 192724ba675SRob Herring compatible = "regulator-fixed"; 193724ba675SRob Herring 194724ba675SRob Herring regulator-name = "SDHI1 Vcc"; 195724ba675SRob Herring regulator-min-microvolt = <3300000>; 196724ba675SRob Herring regulator-max-microvolt = <3300000>; 197724ba675SRob Herring 198724ba675SRob Herring gpio = <&gpio7 18 GPIO_ACTIVE_HIGH>; 199724ba675SRob Herring enable-active-high; 200724ba675SRob Herring }; 201724ba675SRob Herring 202724ba675SRob Herring vccq_sdhi1: regulator-vccq-sdhi1 { 203724ba675SRob Herring compatible = "regulator-gpio"; 204724ba675SRob Herring 205724ba675SRob Herring regulator-name = "SDHI1 VccQ"; 206724ba675SRob Herring regulator-min-microvolt = <1800000>; 207724ba675SRob Herring regulator-max-microvolt = <3300000>; 208724ba675SRob Herring 209724ba675SRob Herring gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>; 210724ba675SRob Herring gpios-states = <1>; 211724ba675SRob Herring states = <3300000 1>, <1800000 0>; 212724ba675SRob Herring }; 213724ba675SRob Herring 214724ba675SRob Herring vcc_sdhi2: regulator-vcc-sdhi2 { 215724ba675SRob Herring compatible = "regulator-fixed"; 216724ba675SRob Herring 217724ba675SRob Herring regulator-name = "SDHI2 Vcc"; 218724ba675SRob Herring regulator-min-microvolt = <3300000>; 219724ba675SRob Herring regulator-max-microvolt = <3300000>; 220724ba675SRob Herring 221724ba675SRob Herring gpio = <&gpio7 19 GPIO_ACTIVE_HIGH>; 222724ba675SRob Herring enable-active-high; 223724ba675SRob Herring }; 224724ba675SRob Herring 225724ba675SRob Herring vccq_sdhi2: regulator-vccq-sdhi2 { 226724ba675SRob Herring compatible = "regulator-gpio"; 227724ba675SRob Herring 228724ba675SRob Herring regulator-name = "SDHI2 VccQ"; 229724ba675SRob Herring regulator-min-microvolt = <1800000>; 230724ba675SRob Herring regulator-max-microvolt = <3300000>; 231724ba675SRob Herring 232724ba675SRob Herring gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; 233724ba675SRob Herring gpios-states = <1>; 234724ba675SRob Herring states = <3300000 1>, <1800000 0>; 235724ba675SRob Herring }; 236724ba675SRob Herring 237724ba675SRob Herring audio_clock: audio_clock { 238724ba675SRob Herring compatible = "fixed-clock"; 239724ba675SRob Herring #clock-cells = <0>; 240724ba675SRob Herring clock-frequency = <11289600>; 241724ba675SRob Herring }; 242724ba675SRob Herring 243724ba675SRob Herring rsnd_ak4643: sound { 244724ba675SRob Herring compatible = "simple-audio-card"; 245724ba675SRob Herring 246724ba675SRob Herring simple-audio-card,format = "left_j"; 247724ba675SRob Herring simple-audio-card,bitclock-master = <&sndcodec>; 248724ba675SRob Herring simple-audio-card,frame-master = <&sndcodec>; 249724ba675SRob Herring 250724ba675SRob Herring sndcpu: simple-audio-card,cpu { 251724ba675SRob Herring sound-dai = <&rcar_sound>; 252724ba675SRob Herring }; 253724ba675SRob Herring 254724ba675SRob Herring sndcodec: simple-audio-card,codec { 255724ba675SRob Herring sound-dai = <&ak4643>; 256724ba675SRob Herring clocks = <&audio_clock>; 257724ba675SRob Herring }; 258724ba675SRob Herring }; 259724ba675SRob Herring 260724ba675SRob Herring hdmi-in { 261724ba675SRob Herring compatible = "hdmi-connector"; 262724ba675SRob Herring type = "a"; 263724ba675SRob Herring 264724ba675SRob Herring port { 265724ba675SRob Herring hdmi_con_in: endpoint { 266724ba675SRob Herring remote-endpoint = <&adv7612_in>; 267724ba675SRob Herring }; 268724ba675SRob Herring }; 269724ba675SRob Herring }; 270724ba675SRob Herring 271724ba675SRob Herring hdmi-out { 272724ba675SRob Herring compatible = "hdmi-connector"; 273724ba675SRob Herring type = "a"; 274724ba675SRob Herring 275724ba675SRob Herring port { 276724ba675SRob Herring hdmi_con_out: endpoint { 277724ba675SRob Herring remote-endpoint = <&adv7511_out>; 278724ba675SRob Herring }; 279724ba675SRob Herring }; 280724ba675SRob Herring }; 281724ba675SRob Herring 282724ba675SRob Herring composite-in { 283724ba675SRob Herring compatible = "composite-video-connector"; 284724ba675SRob Herring 285724ba675SRob Herring port { 286724ba675SRob Herring composite_con_in: endpoint { 287724ba675SRob Herring remote-endpoint = <&adv7180_in>; 288724ba675SRob Herring }; 289724ba675SRob Herring }; 290724ba675SRob Herring }; 291724ba675SRob Herring 292724ba675SRob Herring x2_clk: x2-clock { 293724ba675SRob Herring compatible = "fixed-clock"; 294724ba675SRob Herring #clock-cells = <0>; 295724ba675SRob Herring clock-frequency = <74250000>; 296724ba675SRob Herring }; 297724ba675SRob Herring 298724ba675SRob Herring x13_clk: x13-clock { 299724ba675SRob Herring compatible = "fixed-clock"; 300724ba675SRob Herring #clock-cells = <0>; 301724ba675SRob Herring clock-frequency = <148500000>; 302724ba675SRob Herring }; 303724ba675SRob Herring 304724ba675SRob Herring gpioi2c2: i2c-9 { 305724ba675SRob Herring #address-cells = <1>; 306724ba675SRob Herring #size-cells = <0>; 307724ba675SRob Herring compatible = "i2c-gpio"; 308724ba675SRob Herring status = "disabled"; 309724ba675SRob Herring scl-gpios = <&gpio2 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 310724ba675SRob Herring sda-gpios = <&gpio2 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 311724ba675SRob Herring i2c-gpio,delay-us = <5>; 312724ba675SRob Herring }; 313724ba675SRob Herring 314724ba675SRob Herring gpioi2c4: i2c-10 { 315724ba675SRob Herring #address-cells = <1>; 316724ba675SRob Herring #size-cells = <0>; 317724ba675SRob Herring compatible = "i2c-gpio"; 318724ba675SRob Herring status = "disabled"; 319724ba675SRob Herring scl-gpios = <&gpio7 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 320724ba675SRob Herring sda-gpios = <&gpio7 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 321724ba675SRob Herring i2c-gpio,delay-us = <5>; 322724ba675SRob Herring }; 323724ba675SRob Herring 324724ba675SRob Herring /* 325724ba675SRob Herring * A fallback to GPIO is provided for I2C2. 326724ba675SRob Herring */ 327724ba675SRob Herring i2chdmi: i2c-11 { 328724ba675SRob Herring compatible = "i2c-demux-pinctrl"; 329724ba675SRob Herring i2c-parent = <&i2c2>, <&gpioi2c2>; 330724ba675SRob Herring i2c-bus-name = "i2c-hdmi"; 331724ba675SRob Herring #address-cells = <1>; 332724ba675SRob Herring #size-cells = <0>; 333724ba675SRob Herring 334724ba675SRob Herring ak4643: codec@12 { 335724ba675SRob Herring compatible = "asahi-kasei,ak4643"; 336724ba675SRob Herring #sound-dai-cells = <0>; 337724ba675SRob Herring reg = <0x12>; 338724ba675SRob Herring }; 339724ba675SRob Herring 340724ba675SRob Herring composite-in@20 { 341724ba675SRob Herring compatible = "adi,adv7180cp"; 342724ba675SRob Herring reg = <0x20>; 343724ba675SRob Herring 344724ba675SRob Herring ports { 345724ba675SRob Herring #address-cells = <1>; 346724ba675SRob Herring #size-cells = <0>; 347724ba675SRob Herring 348724ba675SRob Herring port@0 { 349724ba675SRob Herring reg = <0>; 350724ba675SRob Herring adv7180_in: endpoint { 351724ba675SRob Herring remote-endpoint = <&composite_con_in>; 352724ba675SRob Herring }; 353724ba675SRob Herring }; 354724ba675SRob Herring 355724ba675SRob Herring port@3 { 356724ba675SRob Herring reg = <3>; 357724ba675SRob Herring adv7180_out: endpoint { 358724ba675SRob Herring bus-width = <8>; 359724ba675SRob Herring remote-endpoint = <&vin1ep>; 360724ba675SRob Herring }; 361724ba675SRob Herring }; 362724ba675SRob Herring }; 363724ba675SRob Herring }; 364724ba675SRob Herring 365724ba675SRob Herring hdmi@39 { 366724ba675SRob Herring compatible = "adi,adv7511w"; 367724ba675SRob Herring reg = <0x39>; 368724ba675SRob Herring interrupt-parent = <&gpio3>; 369724ba675SRob Herring interrupts = <29 IRQ_TYPE_LEVEL_LOW>; 370724ba675SRob Herring 371724ba675SRob Herring adi,input-depth = <8>; 372724ba675SRob Herring adi,input-colorspace = "rgb"; 373724ba675SRob Herring adi,input-clock = "1x"; 374724ba675SRob Herring 375724ba675SRob Herring ports { 376724ba675SRob Herring #address-cells = <1>; 377724ba675SRob Herring #size-cells = <0>; 378724ba675SRob Herring 379724ba675SRob Herring port@0 { 380724ba675SRob Herring reg = <0>; 381724ba675SRob Herring adv7511_in: endpoint { 382724ba675SRob Herring remote-endpoint = <&du_out_rgb>; 383724ba675SRob Herring }; 384724ba675SRob Herring }; 385724ba675SRob Herring 386724ba675SRob Herring port@1 { 387724ba675SRob Herring reg = <1>; 388724ba675SRob Herring adv7511_out: endpoint { 389724ba675SRob Herring remote-endpoint = <&hdmi_con_out>; 390724ba675SRob Herring }; 391724ba675SRob Herring }; 392724ba675SRob Herring }; 393724ba675SRob Herring }; 394724ba675SRob Herring 395724ba675SRob Herring hdmi-in@4c { 396724ba675SRob Herring compatible = "adi,adv7612"; 397724ba675SRob Herring reg = <0x4c>; 398724ba675SRob Herring interrupt-parent = <&gpio4>; 399724ba675SRob Herring interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 400724ba675SRob Herring default-input = <0>; 401724ba675SRob Herring 402724ba675SRob Herring ports { 403724ba675SRob Herring #address-cells = <1>; 404724ba675SRob Herring #size-cells = <0>; 405724ba675SRob Herring 406724ba675SRob Herring port@0 { 407724ba675SRob Herring reg = <0>; 408724ba675SRob Herring adv7612_in: endpoint { 409724ba675SRob Herring remote-endpoint = <&hdmi_con_in>; 410724ba675SRob Herring }; 411724ba675SRob Herring }; 412724ba675SRob Herring 413724ba675SRob Herring port@2 { 414724ba675SRob Herring reg = <2>; 415724ba675SRob Herring adv7612_out: endpoint { 416724ba675SRob Herring remote-endpoint = <&vin0ep2>; 417724ba675SRob Herring }; 418724ba675SRob Herring }; 419724ba675SRob Herring }; 420724ba675SRob Herring }; 421724ba675SRob Herring 422724ba675SRob Herring eeprom@50 { 423724ba675SRob Herring compatible = "renesas,r1ex24002", "atmel,24c02"; 424724ba675SRob Herring reg = <0x50>; 425724ba675SRob Herring pagesize = <16>; 426724ba675SRob Herring }; 427724ba675SRob Herring }; 428724ba675SRob Herring 429724ba675SRob Herring /* 430724ba675SRob Herring * I2C4 is routed to EXIO connector E, pins 37 (SCL) + 39 (SDA). 431724ba675SRob Herring * A fallback to GPIO is provided. 432724ba675SRob Herring */ 433724ba675SRob Herring i2cexio4: i2c-12 { 434724ba675SRob Herring compatible = "i2c-demux-pinctrl"; 435724ba675SRob Herring i2c-parent = <&i2c4>, <&gpioi2c4>; 436724ba675SRob Herring i2c-bus-name = "i2c-exio4"; 437724ba675SRob Herring #address-cells = <1>; 438724ba675SRob Herring #size-cells = <0>; 439724ba675SRob Herring }; 440724ba675SRob Herring}; 441724ba675SRob Herring 442724ba675SRob Herring&du { 443724ba675SRob Herring pinctrl-0 = <&du_pins>; 444724ba675SRob Herring pinctrl-names = "default"; 445724ba675SRob Herring status = "okay"; 446724ba675SRob Herring 447724ba675SRob Herring clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, 448724ba675SRob Herring <&x13_clk>, <&x2_clk>; 449724ba675SRob Herring clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1"; 450724ba675SRob Herring 451724ba675SRob Herring ports { 452724ba675SRob Herring port@0 { 453724ba675SRob Herring endpoint { 454724ba675SRob Herring remote-endpoint = <&adv7511_in>; 455724ba675SRob Herring }; 456724ba675SRob Herring }; 457724ba675SRob Herring }; 458724ba675SRob Herring}; 459724ba675SRob Herring 460724ba675SRob Herring&lvds0 { 461724ba675SRob Herring ports { 462724ba675SRob Herring port@1 { 463724ba675SRob Herring lvds_connector: endpoint { 464724ba675SRob Herring }; 465724ba675SRob Herring }; 466724ba675SRob Herring }; 467724ba675SRob Herring}; 468724ba675SRob Herring 469724ba675SRob Herring&extal_clk { 470724ba675SRob Herring clock-frequency = <20000000>; 471724ba675SRob Herring}; 472724ba675SRob Herring 473724ba675SRob Herring&pfc { 474724ba675SRob Herring pinctrl-0 = <&scif_clk_pins>; 475724ba675SRob Herring pinctrl-names = "default"; 476724ba675SRob Herring 477724ba675SRob Herring i2c2_pins: i2c2 { 478724ba675SRob Herring groups = "i2c2"; 479724ba675SRob Herring function = "i2c2"; 480724ba675SRob Herring }; 481724ba675SRob Herring 482724ba675SRob Herring i2c4_pins: i2c4 { 483724ba675SRob Herring groups = "i2c4_c"; 484724ba675SRob Herring function = "i2c4"; 485724ba675SRob Herring }; 486724ba675SRob Herring 487724ba675SRob Herring du_pins: du { 488724ba675SRob Herring groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0"; 489724ba675SRob Herring function = "du"; 490724ba675SRob Herring }; 491724ba675SRob Herring 492724ba675SRob Herring scif0_pins: scif0 { 493724ba675SRob Herring groups = "scif0_data_d"; 494724ba675SRob Herring function = "scif0"; 495724ba675SRob Herring }; 496724ba675SRob Herring 497724ba675SRob Herring scif1_pins: scif1 { 498724ba675SRob Herring groups = "scif1_data_d"; 499724ba675SRob Herring function = "scif1"; 500724ba675SRob Herring }; 501724ba675SRob Herring 502724ba675SRob Herring scif_clk_pins: scif_clk { 503724ba675SRob Herring groups = "scif_clk"; 504724ba675SRob Herring function = "scif_clk"; 505724ba675SRob Herring }; 506724ba675SRob Herring 507724ba675SRob Herring ether_pins: ether { 508724ba675SRob Herring groups = "eth_link", "eth_mdio", "eth_rmii"; 509724ba675SRob Herring function = "eth"; 510724ba675SRob Herring }; 511724ba675SRob Herring 512724ba675SRob Herring phy1_pins: phy1 { 513724ba675SRob Herring groups = "intc_irq0"; 514724ba675SRob Herring function = "intc"; 515724ba675SRob Herring }; 516724ba675SRob Herring 517724ba675SRob Herring pmic_irq_pins: pmicirq { 518724ba675SRob Herring groups = "intc_irq2"; 519724ba675SRob Herring function = "intc"; 520724ba675SRob Herring }; 521724ba675SRob Herring 522724ba675SRob Herring sdhi0_pins: sd0 { 523724ba675SRob Herring groups = "sdhi0_data4", "sdhi0_ctrl"; 524724ba675SRob Herring function = "sdhi0"; 525724ba675SRob Herring power-source = <3300>; 526724ba675SRob Herring }; 527724ba675SRob Herring 528724ba675SRob Herring sdhi0_pins_uhs: sd0_uhs { 529724ba675SRob Herring groups = "sdhi0_data4", "sdhi0_ctrl"; 530724ba675SRob Herring function = "sdhi0"; 531724ba675SRob Herring power-source = <1800>; 532724ba675SRob Herring }; 533724ba675SRob Herring 534724ba675SRob Herring sdhi1_pins: sd1 { 535724ba675SRob Herring groups = "sdhi1_data4", "sdhi1_ctrl"; 536724ba675SRob Herring function = "sdhi1"; 537724ba675SRob Herring power-source = <3300>; 538724ba675SRob Herring }; 539724ba675SRob Herring 540724ba675SRob Herring sdhi1_pins_uhs: sd1_uhs { 541724ba675SRob Herring groups = "sdhi1_data4", "sdhi1_ctrl"; 542724ba675SRob Herring function = "sdhi1"; 543724ba675SRob Herring power-source = <1800>; 544724ba675SRob Herring }; 545724ba675SRob Herring 546724ba675SRob Herring sdhi2_pins: sd2 { 547724ba675SRob Herring groups = "sdhi2_data4", "sdhi2_ctrl"; 548724ba675SRob Herring function = "sdhi2"; 549724ba675SRob Herring power-source = <3300>; 550724ba675SRob Herring }; 551724ba675SRob Herring 552724ba675SRob Herring sdhi2_pins_uhs: sd2_uhs { 553724ba675SRob Herring groups = "sdhi2_data4", "sdhi2_ctrl"; 554724ba675SRob Herring function = "sdhi2"; 555724ba675SRob Herring power-source = <1800>; 556724ba675SRob Herring }; 557724ba675SRob Herring 558724ba675SRob Herring qspi_pins: qspi { 559724ba675SRob Herring groups = "qspi_ctrl", "qspi_data4"; 560724ba675SRob Herring function = "qspi"; 561724ba675SRob Herring }; 562724ba675SRob Herring 563724ba675SRob Herring sound_pins: sound { 564724ba675SRob Herring groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data"; 565724ba675SRob Herring function = "ssi"; 566724ba675SRob Herring }; 567724ba675SRob Herring 568724ba675SRob Herring sound_clk_pins: sound_clk { 569724ba675SRob Herring groups = "audio_clk_a"; 570724ba675SRob Herring function = "audio_clk"; 571724ba675SRob Herring }; 572724ba675SRob Herring 573724ba675SRob Herring keyboard_pins: keyboard { 574724ba675SRob Herring pins = "GP_5_0", "GP_5_1", "GP_5_2", "GP_5_3"; 575724ba675SRob Herring bias-pull-up; 576724ba675SRob Herring }; 577724ba675SRob Herring 578724ba675SRob Herring vin0_pins: vin0 { 579724ba675SRob Herring groups = "vin0_data24", "vin0_sync", "vin0_clkenb", "vin0_clk"; 580724ba675SRob Herring function = "vin0"; 581724ba675SRob Herring }; 582724ba675SRob Herring 583724ba675SRob Herring vin1_pins: vin1 { 584724ba675SRob Herring groups = "vin1_data8", "vin1_clk"; 585724ba675SRob Herring function = "vin1"; 586724ba675SRob Herring }; 587724ba675SRob Herring}; 588724ba675SRob Herring 589724ba675SRob Herringðer { 590724ba675SRob Herring pinctrl-0 = <ðer_pins>, <&phy1_pins>; 591724ba675SRob Herring pinctrl-names = "default"; 592724ba675SRob Herring 593724ba675SRob Herring phy-handle = <&phy1>; 594724ba675SRob Herring renesas,ether-link-active-low; 595724ba675SRob Herring status = "okay"; 596724ba675SRob Herring 597724ba675SRob Herring phy1: ethernet-phy@1 { 598724ba675SRob Herring compatible = "ethernet-phy-id0022.1537", 599724ba675SRob Herring "ethernet-phy-ieee802.3-c22"; 600724ba675SRob Herring reg = <1>; 601724ba675SRob Herring interrupt-parent = <&irqc0>; 602724ba675SRob Herring interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 603724ba675SRob Herring micrel,led-mode = <1>; 604724ba675SRob Herring reset-gpios = <&gpio5 22 GPIO_ACTIVE_LOW>; 605724ba675SRob Herring }; 606724ba675SRob Herring}; 607724ba675SRob Herring 608724ba675SRob Herring&cmt0 { 609724ba675SRob Herring status = "okay"; 610724ba675SRob Herring}; 611724ba675SRob Herring 612724ba675SRob Herring&cpu0 { 613724ba675SRob Herring cpu0-supply = <&vdd_dvfs>; 614724ba675SRob Herring}; 615724ba675SRob Herring 616724ba675SRob Herring&rwdt { 617724ba675SRob Herring timeout-sec = <60>; 618724ba675SRob Herring status = "okay"; 619724ba675SRob Herring}; 620724ba675SRob Herring 621724ba675SRob Herring&scif0 { 622724ba675SRob Herring pinctrl-0 = <&scif0_pins>; 623724ba675SRob Herring pinctrl-names = "default"; 624724ba675SRob Herring 625724ba675SRob Herring status = "okay"; 626724ba675SRob Herring}; 627724ba675SRob Herring 628724ba675SRob Herring&scif1 { 629724ba675SRob Herring pinctrl-0 = <&scif1_pins>; 630724ba675SRob Herring pinctrl-names = "default"; 631724ba675SRob Herring 632724ba675SRob Herring status = "okay"; 633724ba675SRob Herring}; 634724ba675SRob Herring 635724ba675SRob Herring&scif_clk { 636724ba675SRob Herring clock-frequency = <14745600>; 637724ba675SRob Herring}; 638724ba675SRob Herring 639724ba675SRob Herring&sdhi0 { 640724ba675SRob Herring pinctrl-0 = <&sdhi0_pins>; 641724ba675SRob Herring pinctrl-1 = <&sdhi0_pins_uhs>; 642724ba675SRob Herring pinctrl-names = "default", "state_uhs"; 643724ba675SRob Herring 644724ba675SRob Herring vmmc-supply = <&vcc_sdhi0>; 645724ba675SRob Herring vqmmc-supply = <&vccq_sdhi0>; 646724ba675SRob Herring cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>; 647724ba675SRob Herring wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; 648724ba675SRob Herring sd-uhs-sdr50; 649724ba675SRob Herring sd-uhs-sdr104; 650724ba675SRob Herring status = "okay"; 651724ba675SRob Herring}; 652724ba675SRob Herring 653724ba675SRob Herring&sdhi1 { 654724ba675SRob Herring pinctrl-0 = <&sdhi1_pins>; 655724ba675SRob Herring pinctrl-1 = <&sdhi1_pins_uhs>; 656724ba675SRob Herring pinctrl-names = "default", "state_uhs"; 657724ba675SRob Herring 658724ba675SRob Herring vmmc-supply = <&vcc_sdhi1>; 659724ba675SRob Herring vqmmc-supply = <&vccq_sdhi1>; 660724ba675SRob Herring cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>; 661724ba675SRob Herring wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>; 662724ba675SRob Herring sd-uhs-sdr50; 663724ba675SRob Herring status = "okay"; 664724ba675SRob Herring}; 665724ba675SRob Herring 666724ba675SRob Herring&sdhi2 { 667724ba675SRob Herring pinctrl-0 = <&sdhi2_pins>; 668724ba675SRob Herring pinctrl-1 = <&sdhi2_pins_uhs>; 669724ba675SRob Herring pinctrl-names = "default", "state_uhs"; 670724ba675SRob Herring 671724ba675SRob Herring vmmc-supply = <&vcc_sdhi2>; 672724ba675SRob Herring vqmmc-supply = <&vccq_sdhi2>; 673724ba675SRob Herring cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>; 674724ba675SRob Herring sd-uhs-sdr50; 675724ba675SRob Herring status = "okay"; 676724ba675SRob Herring}; 677724ba675SRob Herring 678724ba675SRob Herring&qspi { 679724ba675SRob Herring pinctrl-0 = <&qspi_pins>; 680724ba675SRob Herring pinctrl-names = "default"; 681724ba675SRob Herring 682724ba675SRob Herring status = "okay"; 683724ba675SRob Herring 684724ba675SRob Herring flash@0 { 685724ba675SRob Herring compatible = "spansion,s25fl512s", "jedec,spi-nor"; 686724ba675SRob Herring reg = <0>; 687724ba675SRob Herring spi-max-frequency = <30000000>; 688724ba675SRob Herring spi-tx-bus-width = <4>; 689724ba675SRob Herring spi-rx-bus-width = <4>; 690724ba675SRob Herring spi-cpol; 691724ba675SRob Herring spi-cpha; 692724ba675SRob Herring m25p,fast-read; 693724ba675SRob Herring 694724ba675SRob Herring partitions { 695724ba675SRob Herring compatible = "fixed-partitions"; 696724ba675SRob Herring #address-cells = <1>; 697724ba675SRob Herring #size-cells = <1>; 698724ba675SRob Herring 699724ba675SRob Herring partition@0 { 700724ba675SRob Herring label = "loader"; 701724ba675SRob Herring reg = <0x00000000 0x00040000>; 702724ba675SRob Herring read-only; 703724ba675SRob Herring }; 704724ba675SRob Herring partition@40000 { 705724ba675SRob Herring label = "user"; 706724ba675SRob Herring reg = <0x00040000 0x00400000>; 707724ba675SRob Herring read-only; 708724ba675SRob Herring }; 709724ba675SRob Herring partition@440000 { 710724ba675SRob Herring label = "flash"; 711724ba675SRob Herring reg = <0x00440000 0x03bc0000>; 712724ba675SRob Herring }; 713724ba675SRob Herring }; 714724ba675SRob Herring }; 715724ba675SRob Herring}; 716724ba675SRob Herring 717724ba675SRob Herring&i2c2 { 718724ba675SRob Herring pinctrl-0 = <&i2c2_pins>; 719724ba675SRob Herring pinctrl-names = "i2c-hdmi"; 720724ba675SRob Herring 721724ba675SRob Herring status = "okay"; 722724ba675SRob Herring clock-frequency = <100000>; 723724ba675SRob Herring 724724ba675SRob Herring}; 725724ba675SRob Herring 726724ba675SRob Herring&i2c6 { 727724ba675SRob Herring pinctrl-names = "default"; 728724ba675SRob Herring pinctrl-0 = <&pmic_irq_pins>; 729724ba675SRob Herring status = "okay"; 730724ba675SRob Herring clock-frequency = <100000>; 731724ba675SRob Herring 732724ba675SRob Herring pmic@58 { 733724ba675SRob Herring compatible = "dlg,da9063"; 734724ba675SRob Herring reg = <0x58>; 735724ba675SRob Herring interrupt-parent = <&irqc0>; 736724ba675SRob Herring interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 737724ba675SRob Herring interrupt-controller; 738*0cce072eSGeert Uytterhoeven #interrupt-cells = <2>; 739724ba675SRob Herring 740724ba675SRob Herring rtc { 741724ba675SRob Herring compatible = "dlg,da9063-rtc"; 742724ba675SRob Herring }; 743724ba675SRob Herring 744724ba675SRob Herring watchdog { 745724ba675SRob Herring compatible = "dlg,da9063-watchdog"; 746724ba675SRob Herring }; 747724ba675SRob Herring }; 748724ba675SRob Herring 749724ba675SRob Herring vdd_dvfs: regulator@68 { 750724ba675SRob Herring compatible = "dlg,da9210"; 751724ba675SRob Herring reg = <0x68>; 752724ba675SRob Herring interrupt-parent = <&irqc0>; 753724ba675SRob Herring interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 754724ba675SRob Herring 755724ba675SRob Herring regulator-min-microvolt = <1000000>; 756724ba675SRob Herring regulator-max-microvolt = <1000000>; 757724ba675SRob Herring regulator-boot-on; 758724ba675SRob Herring regulator-always-on; 759724ba675SRob Herring }; 760724ba675SRob Herring}; 761724ba675SRob Herring 762724ba675SRob Herring&i2c4 { 763724ba675SRob Herring pinctrl-0 = <&i2c4_pins>; 764724ba675SRob Herring pinctrl-names = "i2c-exio4"; 765724ba675SRob Herring}; 766724ba675SRob Herring 767724ba675SRob Herring&rcar_sound { 768724ba675SRob Herring pinctrl-0 = <&sound_pins>, <&sound_clk_pins>; 769724ba675SRob Herring pinctrl-names = "default"; 770724ba675SRob Herring 771724ba675SRob Herring /* Single DAI */ 772724ba675SRob Herring #sound-dai-cells = <0>; 773724ba675SRob Herring 774724ba675SRob Herring status = "okay"; 775724ba675SRob Herring 776724ba675SRob Herring rcar_sound,dai { 777724ba675SRob Herring dai0 { 778724ba675SRob Herring playback = <&ssi0>, <&src2>, <&dvc0>; 779724ba675SRob Herring capture = <&ssi1>, <&src3>, <&dvc1>; 780724ba675SRob Herring }; 781724ba675SRob Herring }; 782724ba675SRob Herring}; 783724ba675SRob Herring 784724ba675SRob Herring&ssi1 { 785724ba675SRob Herring shared-pin; 786724ba675SRob Herring}; 787724ba675SRob Herring 788724ba675SRob Herring/* HDMI video input */ 789724ba675SRob Herring&vin0 { 790724ba675SRob Herring status = "okay"; 791724ba675SRob Herring pinctrl-0 = <&vin0_pins>; 792724ba675SRob Herring pinctrl-names = "default"; 793724ba675SRob Herring 794724ba675SRob Herring port { 795724ba675SRob Herring vin0ep2: endpoint { 796724ba675SRob Herring remote-endpoint = <&adv7612_out>; 797724ba675SRob Herring bus-width = <24>; 798724ba675SRob Herring hsync-active = <0>; 799724ba675SRob Herring vsync-active = <0>; 800724ba675SRob Herring pclk-sample = <1>; 801724ba675SRob Herring data-active = <1>; 802724ba675SRob Herring }; 803724ba675SRob Herring }; 804724ba675SRob Herring}; 805724ba675SRob Herring 806724ba675SRob Herring/* composite video input */ 807724ba675SRob Herring&vin1 { 808724ba675SRob Herring pinctrl-0 = <&vin1_pins>; 809724ba675SRob Herring pinctrl-names = "default"; 810724ba675SRob Herring 811724ba675SRob Herring status = "okay"; 812724ba675SRob Herring 813724ba675SRob Herring port { 814724ba675SRob Herring vin1ep: endpoint { 815724ba675SRob Herring remote-endpoint = <&adv7180_out>; 816724ba675SRob Herring bus-width = <8>; 817724ba675SRob Herring }; 818724ba675SRob Herring }; 819724ba675SRob Herring}; 820