1cba59c25SWolfram Sang// SPDX-License-Identifier: GPL-2.0 2253ed045SGeert Uytterhoeven/* 3253ed045SGeert Uytterhoeven * Device Tree Source for the R-Car Gen3 ULCB board 4253ed045SGeert Uytterhoeven * 5253ed045SGeert Uytterhoeven * Copyright (C) 2016 Renesas Electronics Corp. 6253ed045SGeert Uytterhoeven * Copyright (C) 2016 Cogent Embedded, Inc. 7253ed045SGeert Uytterhoeven */ 8253ed045SGeert Uytterhoeven 9253ed045SGeert Uytterhoeven#include <dt-bindings/gpio/gpio.h> 10253ed045SGeert Uytterhoeven#include <dt-bindings/input/input.h> 11253ed045SGeert Uytterhoeven 12253ed045SGeert Uytterhoeven/ { 13253ed045SGeert Uytterhoeven model = "Renesas R-Car Gen3 ULCB board"; 14253ed045SGeert Uytterhoeven 15253ed045SGeert Uytterhoeven aliases { 1659c14853SWolfram Sang i2c0 = &i2c0; 1759c14853SWolfram Sang i2c1 = &i2c1; 1859c14853SWolfram Sang i2c2 = &i2c2; 1959c14853SWolfram Sang i2c3 = &i2c3; 2059c14853SWolfram Sang i2c4 = &i2c4; 2159c14853SWolfram Sang i2c5 = &i2c5; 2259c14853SWolfram Sang i2c6 = &i2c6; 2359c14853SWolfram Sang i2c7 = &i2c_dvfs; 24253ed045SGeert Uytterhoeven serial0 = &scif2; 25253ed045SGeert Uytterhoeven ethernet0 = &avb; 26d765a4f3SYoshihiro Shimoda mmc0 = &sdhi2; 27d765a4f3SYoshihiro Shimoda mmc1 = &sdhi0; 28253ed045SGeert Uytterhoeven }; 29253ed045SGeert Uytterhoeven 30253ed045SGeert Uytterhoeven chosen { 31b31b43c9SMagnus Damm bootargs = "ignore_loglevel rw root=/dev/nfs ip=on"; 32253ed045SGeert Uytterhoeven stdout-path = "serial0:115200n8"; 33253ed045SGeert Uytterhoeven }; 34253ed045SGeert Uytterhoeven 35253ed045SGeert Uytterhoeven audio_clkout: audio-clkout { 36253ed045SGeert Uytterhoeven /* 37253ed045SGeert Uytterhoeven * This is same as <&rcar_sound 0> 38253ed045SGeert Uytterhoeven * but needed to avoid cs2000/rcar_sound probe dead-lock 39253ed045SGeert Uytterhoeven */ 40253ed045SGeert Uytterhoeven compatible = "fixed-clock"; 41253ed045SGeert Uytterhoeven #clock-cells = <0>; 42822cecb1SKuninori Morimoto clock-frequency = <12288000>; 43253ed045SGeert Uytterhoeven }; 44253ed045SGeert Uytterhoeven 459f9b22e8SVladimir Barinov hdmi0-out { 469f9b22e8SVladimir Barinov compatible = "hdmi-connector"; 479f9b22e8SVladimir Barinov type = "a"; 489f9b22e8SVladimir Barinov 499f9b22e8SVladimir Barinov port { 509f9b22e8SVladimir Barinov hdmi0_con: endpoint { 519fd8bbefSKieran Bingham remote-endpoint = <&rcar_dw_hdmi0_out>; 529f9b22e8SVladimir Barinov }; 539f9b22e8SVladimir Barinov }; 549f9b22e8SVladimir Barinov }; 559f9b22e8SVladimir Barinov 56253ed045SGeert Uytterhoeven keyboard { 57253ed045SGeert Uytterhoeven compatible = "gpio-keys"; 58253ed045SGeert Uytterhoeven 59253ed045SGeert Uytterhoeven key-1 { 60253ed045SGeert Uytterhoeven linux,code = <KEY_1>; 61253ed045SGeert Uytterhoeven label = "SW3"; 62253ed045SGeert Uytterhoeven wakeup-source; 63253ed045SGeert Uytterhoeven debounce-interval = <20>; 64253ed045SGeert Uytterhoeven gpios = <&gpio6 11 GPIO_ACTIVE_LOW>; 65253ed045SGeert Uytterhoeven }; 66253ed045SGeert Uytterhoeven }; 67253ed045SGeert Uytterhoeven 68253ed045SGeert Uytterhoeven leds { 69253ed045SGeert Uytterhoeven compatible = "gpio-leds"; 70253ed045SGeert Uytterhoeven 71253ed045SGeert Uytterhoeven led5 { 72253ed045SGeert Uytterhoeven gpios = <&gpio6 12 GPIO_ACTIVE_HIGH>; 73253ed045SGeert Uytterhoeven }; 74253ed045SGeert Uytterhoeven led6 { 75253ed045SGeert Uytterhoeven gpios = <&gpio6 13 GPIO_ACTIVE_HIGH>; 76253ed045SGeert Uytterhoeven }; 77253ed045SGeert Uytterhoeven }; 78253ed045SGeert Uytterhoeven 795cf12ac9SGeert Uytterhoeven reg_1p8v: regulator-1p8v { 80253ed045SGeert Uytterhoeven compatible = "regulator-fixed"; 81253ed045SGeert Uytterhoeven regulator-name = "fixed-1.8V"; 82253ed045SGeert Uytterhoeven regulator-min-microvolt = <1800000>; 83253ed045SGeert Uytterhoeven regulator-max-microvolt = <1800000>; 84253ed045SGeert Uytterhoeven regulator-boot-on; 85253ed045SGeert Uytterhoeven regulator-always-on; 86253ed045SGeert Uytterhoeven }; 87253ed045SGeert Uytterhoeven 885cf12ac9SGeert Uytterhoeven reg_3p3v: regulator-3p3v { 89253ed045SGeert Uytterhoeven compatible = "regulator-fixed"; 90253ed045SGeert Uytterhoeven regulator-name = "fixed-3.3V"; 91253ed045SGeert Uytterhoeven regulator-min-microvolt = <3300000>; 92253ed045SGeert Uytterhoeven regulator-max-microvolt = <3300000>; 93253ed045SGeert Uytterhoeven regulator-boot-on; 94253ed045SGeert Uytterhoeven regulator-always-on; 95253ed045SGeert Uytterhoeven }; 96253ed045SGeert Uytterhoeven 97253ed045SGeert Uytterhoeven vcc_sdhi0: regulator-vcc-sdhi0 { 98253ed045SGeert Uytterhoeven compatible = "regulator-fixed"; 99253ed045SGeert Uytterhoeven 100253ed045SGeert Uytterhoeven regulator-name = "SDHI0 Vcc"; 101253ed045SGeert Uytterhoeven regulator-min-microvolt = <3300000>; 102253ed045SGeert Uytterhoeven regulator-max-microvolt = <3300000>; 103253ed045SGeert Uytterhoeven 104253ed045SGeert Uytterhoeven gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>; 105253ed045SGeert Uytterhoeven enable-active-high; 106253ed045SGeert Uytterhoeven }; 107253ed045SGeert Uytterhoeven 108253ed045SGeert Uytterhoeven vccq_sdhi0: regulator-vccq-sdhi0 { 109253ed045SGeert Uytterhoeven compatible = "regulator-gpio"; 110253ed045SGeert Uytterhoeven 111253ed045SGeert Uytterhoeven regulator-name = "SDHI0 VccQ"; 112253ed045SGeert Uytterhoeven regulator-min-microvolt = <1800000>; 113253ed045SGeert Uytterhoeven regulator-max-microvolt = <3300000>; 114253ed045SGeert Uytterhoeven 115253ed045SGeert Uytterhoeven gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; 116253ed045SGeert Uytterhoeven gpios-states = <1>; 11736f06212SGeert Uytterhoeven states = <3300000 1>, <1800000 0>; 118253ed045SGeert Uytterhoeven }; 119253ed045SGeert Uytterhoeven 120253ed045SGeert Uytterhoeven x12_clk: x12 { 121253ed045SGeert Uytterhoeven compatible = "fixed-clock"; 122253ed045SGeert Uytterhoeven #clock-cells = <0>; 123253ed045SGeert Uytterhoeven clock-frequency = <24576000>; 124253ed045SGeert Uytterhoeven }; 1258cb6898cSVladimir Barinov 1268cb6898cSVladimir Barinov x23_clk: x23-clock { 1278cb6898cSVladimir Barinov compatible = "fixed-clock"; 1288cb6898cSVladimir Barinov #clock-cells = <0>; 1298cb6898cSVladimir Barinov clock-frequency = <25000000>; 1308cb6898cSVladimir Barinov }; 131253ed045SGeert Uytterhoeven}; 132253ed045SGeert Uytterhoeven 1332b35ca2fSYusuke Goda&a57_0 { 1342b35ca2fSYusuke Goda cpu-supply = <&dvfs>; 1352b35ca2fSYusuke Goda}; 1362b35ca2fSYusuke Goda 137253ed045SGeert Uytterhoeven&audio_clk_a { 138253ed045SGeert Uytterhoeven clock-frequency = <22579200>; 139253ed045SGeert Uytterhoeven}; 140253ed045SGeert Uytterhoeven 141253ed045SGeert Uytterhoeven&avb { 142253ed045SGeert Uytterhoeven pinctrl-0 = <&avb_pins>; 143253ed045SGeert Uytterhoeven pinctrl-names = "default"; 144253ed045SGeert Uytterhoeven phy-handle = <&phy0>; 1459b810181SGeert Uytterhoeven tx-internal-delay-ps = <2000>; 146253ed045SGeert Uytterhoeven status = "okay"; 147253ed045SGeert Uytterhoeven 148253ed045SGeert Uytterhoeven phy0: ethernet-phy@0 { 149722d55f3SGeert Uytterhoeven compatible = "ethernet-phy-id0022.1622", 150722d55f3SGeert Uytterhoeven "ethernet-phy-ieee802.3-c22"; 151253ed045SGeert Uytterhoeven rxc-skew-ps = <1500>; 152253ed045SGeert Uytterhoeven reg = <0>; 153253ed045SGeert Uytterhoeven interrupt-parent = <&gpio2>; 154253ed045SGeert Uytterhoeven interrupts = <11 IRQ_TYPE_LEVEL_LOW>; 155ef4a3bc8SGeert Uytterhoeven reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; 156253ed045SGeert Uytterhoeven }; 157253ed045SGeert Uytterhoeven}; 158253ed045SGeert Uytterhoeven 1597da2ed12SLaurent Pinchart&du { 1607da2ed12SLaurent Pinchart status = "okay"; 1617da2ed12SLaurent Pinchart}; 1627da2ed12SLaurent Pinchart 163253ed045SGeert Uytterhoeven&ehci1 { 164253ed045SGeert Uytterhoeven status = "okay"; 165253ed045SGeert Uytterhoeven}; 166253ed045SGeert Uytterhoeven 167253ed045SGeert Uytterhoeven&extal_clk { 168253ed045SGeert Uytterhoeven clock-frequency = <16666666>; 169253ed045SGeert Uytterhoeven}; 170253ed045SGeert Uytterhoeven 171253ed045SGeert Uytterhoeven&extalr_clk { 172253ed045SGeert Uytterhoeven clock-frequency = <32768>; 173253ed045SGeert Uytterhoeven}; 174253ed045SGeert Uytterhoeven 1752a50b40fSVladimir Barinov&hdmi0 { 1762a50b40fSVladimir Barinov status = "okay"; 1772a50b40fSVladimir Barinov 1782a50b40fSVladimir Barinov ports { 1792a50b40fSVladimir Barinov port@1 { 1802a50b40fSVladimir Barinov reg = <1>; 1812a50b40fSVladimir Barinov rcar_dw_hdmi0_out: endpoint { 1822a50b40fSVladimir Barinov remote-endpoint = <&hdmi0_con>; 1832a50b40fSVladimir Barinov }; 1842a50b40fSVladimir Barinov }; 185c693b210SKuninori Morimoto port@2 { 186c693b210SKuninori Morimoto reg = <2>; 187c693b210SKuninori Morimoto }; 1882a50b40fSVladimir Barinov }; 1892a50b40fSVladimir Barinov}; 1902a50b40fSVladimir Barinov 191253ed045SGeert Uytterhoeven&i2c2 { 192253ed045SGeert Uytterhoeven pinctrl-0 = <&i2c2_pins>; 193253ed045SGeert Uytterhoeven pinctrl-names = "default"; 194253ed045SGeert Uytterhoeven 195253ed045SGeert Uytterhoeven status = "okay"; 196253ed045SGeert Uytterhoeven 197253ed045SGeert Uytterhoeven clock-frequency = <100000>; 198253ed045SGeert Uytterhoeven 199253ed045SGeert Uytterhoeven ak4613: codec@10 { 200253ed045SGeert Uytterhoeven compatible = "asahi-kasei,ak4613"; 201253ed045SGeert Uytterhoeven reg = <0x10>; 202253ed045SGeert Uytterhoeven clocks = <&rcar_sound 3>; 203253ed045SGeert Uytterhoeven 204253ed045SGeert Uytterhoeven asahi-kasei,in1-single-end; 205253ed045SGeert Uytterhoeven asahi-kasei,in2-single-end; 206253ed045SGeert Uytterhoeven asahi-kasei,out1-single-end; 207253ed045SGeert Uytterhoeven asahi-kasei,out2-single-end; 208253ed045SGeert Uytterhoeven asahi-kasei,out3-single-end; 209253ed045SGeert Uytterhoeven asahi-kasei,out4-single-end; 210253ed045SGeert Uytterhoeven asahi-kasei,out5-single-end; 211253ed045SGeert Uytterhoeven asahi-kasei,out6-single-end; 212253ed045SGeert Uytterhoeven }; 213253ed045SGeert Uytterhoeven 214253ed045SGeert Uytterhoeven cs2000: clk-multiplier@4f { 215253ed045SGeert Uytterhoeven #clock-cells = <0>; 216253ed045SGeert Uytterhoeven compatible = "cirrus,cs2000-cp"; 217253ed045SGeert Uytterhoeven reg = <0x4f>; 218253ed045SGeert Uytterhoeven clocks = <&audio_clkout>, <&x12_clk>; 219253ed045SGeert Uytterhoeven clock-names = "clk_in", "ref_clk"; 220253ed045SGeert Uytterhoeven 221253ed045SGeert Uytterhoeven assigned-clocks = <&cs2000>; 222253ed045SGeert Uytterhoeven assigned-clock-rates = <24576000>; /* 1/1 divide */ 223253ed045SGeert Uytterhoeven }; 224253ed045SGeert Uytterhoeven}; 225253ed045SGeert Uytterhoeven 226476b2e4fSVladimir Barinov&i2c4 { 227476b2e4fSVladimir Barinov status = "okay"; 228476b2e4fSVladimir Barinov 229476b2e4fSVladimir Barinov clock-frequency = <400000>; 2308cb6898cSVladimir Barinov 2318cb6898cSVladimir Barinov versaclock5: clock-generator@6a { 2328cb6898cSVladimir Barinov compatible = "idt,5p49v5925"; 2338cb6898cSVladimir Barinov reg = <0x6a>; 2348cb6898cSVladimir Barinov #clock-cells = <1>; 2358cb6898cSVladimir Barinov clocks = <&x23_clk>; 2368cb6898cSVladimir Barinov clock-names = "xin"; 2378cb6898cSVladimir Barinov }; 238476b2e4fSVladimir Barinov}; 239476b2e4fSVladimir Barinov 240a4fedb3aSVladimir Barinov&i2c_dvfs { 241a4fedb3aSVladimir Barinov status = "okay"; 242786f3cc0SGeert Uytterhoeven 24311a33f81SWolfram Sang clock-frequency = <400000>; 24411a33f81SWolfram Sang 245786f3cc0SGeert Uytterhoeven pmic: pmic@30 { 246786f3cc0SGeert Uytterhoeven pinctrl-0 = <&irq0_pins>; 247786f3cc0SGeert Uytterhoeven pinctrl-names = "default"; 248786f3cc0SGeert Uytterhoeven 249786f3cc0SGeert Uytterhoeven compatible = "rohm,bd9571mwv"; 250786f3cc0SGeert Uytterhoeven reg = <0x30>; 251786f3cc0SGeert Uytterhoeven interrupt-parent = <&intc_ex>; 252786f3cc0SGeert Uytterhoeven interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 253786f3cc0SGeert Uytterhoeven interrupt-controller; 254786f3cc0SGeert Uytterhoeven #interrupt-cells = <2>; 255786f3cc0SGeert Uytterhoeven gpio-controller; 256786f3cc0SGeert Uytterhoeven #gpio-cells = <2>; 2571c81a633SGeert Uytterhoeven rohm,ddr-backup-power = <0xf>; 2581c81a633SGeert Uytterhoeven rohm,rstbmode-pulse; 259786f3cc0SGeert Uytterhoeven 260786f3cc0SGeert Uytterhoeven regulators { 261786f3cc0SGeert Uytterhoeven dvfs: dvfs { 262786f3cc0SGeert Uytterhoeven regulator-name = "dvfs"; 263786f3cc0SGeert Uytterhoeven regulator-min-microvolt = <750000>; 264786f3cc0SGeert Uytterhoeven regulator-max-microvolt = <1030000>; 265786f3cc0SGeert Uytterhoeven regulator-boot-on; 266786f3cc0SGeert Uytterhoeven regulator-always-on; 267786f3cc0SGeert Uytterhoeven }; 268786f3cc0SGeert Uytterhoeven }; 269786f3cc0SGeert Uytterhoeven }; 270d5136914SGeert Uytterhoeven 271d5136914SGeert Uytterhoeven eeprom@50 { 272d5136914SGeert Uytterhoeven compatible = "rohm,br24t01", "atmel,24c01"; 273d5136914SGeert Uytterhoeven reg = <0x50>; 274d5136914SGeert Uytterhoeven pagesize = <8>; 275d5136914SGeert Uytterhoeven }; 276a4fedb3aSVladimir Barinov}; 277a4fedb3aSVladimir Barinov 278253ed045SGeert Uytterhoeven&ohci1 { 279253ed045SGeert Uytterhoeven status = "okay"; 280253ed045SGeert Uytterhoeven}; 281253ed045SGeert Uytterhoeven 282253ed045SGeert Uytterhoeven&pfc { 283253ed045SGeert Uytterhoeven pinctrl-0 = <&scif_clk_pins>; 284253ed045SGeert Uytterhoeven pinctrl-names = "default"; 285253ed045SGeert Uytterhoeven 286253ed045SGeert Uytterhoeven avb_pins: avb { 287133ace3fSSimon Horman mux { 2881518ad14SGeert Uytterhoeven groups = "avb_link", "avb_mdio", "avb_mii"; 289253ed045SGeert Uytterhoeven function = "avb"; 290253ed045SGeert Uytterhoeven }; 291253ed045SGeert Uytterhoeven 2921518ad14SGeert Uytterhoeven pins_mdio { 2931518ad14SGeert Uytterhoeven groups = "avb_mdio"; 294133ace3fSSimon Horman drive-strength = <24>; 295133ace3fSSimon Horman }; 296133ace3fSSimon Horman 297133ace3fSSimon Horman pins_mii_tx { 298133ace3fSSimon Horman pins = "PIN_AVB_TX_CTL", "PIN_AVB_TXC", "PIN_AVB_TD0", 299133ace3fSSimon Horman "PIN_AVB_TD1", "PIN_AVB_TD2", "PIN_AVB_TD3"; 300133ace3fSSimon Horman drive-strength = <12>; 301133ace3fSSimon Horman }; 302133ace3fSSimon Horman }; 303133ace3fSSimon Horman 304253ed045SGeert Uytterhoeven i2c2_pins: i2c2 { 305253ed045SGeert Uytterhoeven groups = "i2c2_a"; 306253ed045SGeert Uytterhoeven function = "i2c2"; 307253ed045SGeert Uytterhoeven }; 308253ed045SGeert Uytterhoeven 309786f3cc0SGeert Uytterhoeven irq0_pins: irq0 { 310786f3cc0SGeert Uytterhoeven groups = "intc_ex_irq0"; 311786f3cc0SGeert Uytterhoeven function = "intc_ex"; 312786f3cc0SGeert Uytterhoeven }; 313786f3cc0SGeert Uytterhoeven 314253ed045SGeert Uytterhoeven scif2_pins: scif2 { 315253ed045SGeert Uytterhoeven groups = "scif2_data_a"; 316253ed045SGeert Uytterhoeven function = "scif2"; 317253ed045SGeert Uytterhoeven }; 318253ed045SGeert Uytterhoeven 319253ed045SGeert Uytterhoeven scif_clk_pins: scif_clk { 320253ed045SGeert Uytterhoeven groups = "scif_clk_a"; 321253ed045SGeert Uytterhoeven function = "scif_clk"; 322253ed045SGeert Uytterhoeven }; 323253ed045SGeert Uytterhoeven 324253ed045SGeert Uytterhoeven sdhi0_pins: sd0 { 325253ed045SGeert Uytterhoeven groups = "sdhi0_data4", "sdhi0_ctrl"; 326253ed045SGeert Uytterhoeven function = "sdhi0"; 327253ed045SGeert Uytterhoeven power-source = <3300>; 328253ed045SGeert Uytterhoeven }; 329253ed045SGeert Uytterhoeven 330253ed045SGeert Uytterhoeven sdhi0_pins_uhs: sd0_uhs { 331253ed045SGeert Uytterhoeven groups = "sdhi0_data4", "sdhi0_ctrl"; 332253ed045SGeert Uytterhoeven function = "sdhi0"; 333253ed045SGeert Uytterhoeven power-source = <1800>; 334253ed045SGeert Uytterhoeven }; 335253ed045SGeert Uytterhoeven 336253ed045SGeert Uytterhoeven sdhi2_pins: sd2 { 337c5dd01aaSMasaharu Hayakawa groups = "sdhi2_data8", "sdhi2_ctrl", "sdhi2_ds"; 338253ed045SGeert Uytterhoeven function = "sdhi2"; 339253ed045SGeert Uytterhoeven power-source = <1800>; 340253ed045SGeert Uytterhoeven }; 341253ed045SGeert Uytterhoeven 342253ed045SGeert Uytterhoeven sound_pins: sound { 343253ed045SGeert Uytterhoeven groups = "ssi01239_ctrl", "ssi0_data", "ssi1_data_a"; 344253ed045SGeert Uytterhoeven function = "ssi"; 345253ed045SGeert Uytterhoeven }; 346253ed045SGeert Uytterhoeven 347253ed045SGeert Uytterhoeven sound_clk_pins: sound-clk { 348253ed045SGeert Uytterhoeven groups = "audio_clk_a_a", "audio_clk_b_a", "audio_clk_c_a", 349253ed045SGeert Uytterhoeven "audio_clkout_a", "audio_clkout3_a"; 350253ed045SGeert Uytterhoeven function = "audio_clk"; 351253ed045SGeert Uytterhoeven }; 352253ed045SGeert Uytterhoeven 353253ed045SGeert Uytterhoeven usb1_pins: usb1 { 354253ed045SGeert Uytterhoeven groups = "usb1"; 355253ed045SGeert Uytterhoeven function = "usb1"; 356253ed045SGeert Uytterhoeven }; 357253ed045SGeert Uytterhoeven}; 358253ed045SGeert Uytterhoeven 359253ed045SGeert Uytterhoeven&rcar_sound { 3603ebf49c0SGeert Uytterhoeven pinctrl-0 = <&sound_pins>, <&sound_clk_pins>; 361253ed045SGeert Uytterhoeven pinctrl-names = "default"; 362253ed045SGeert Uytterhoeven 363253ed045SGeert Uytterhoeven /* audio_clkout0/1/2/3 */ 364253ed045SGeert Uytterhoeven #clock-cells = <1>; 3652752660aSVladimir Barinov clock-frequency = <12288000 11289600>; 366253ed045SGeert Uytterhoeven 367253ed045SGeert Uytterhoeven status = "okay"; 368253ed045SGeert Uytterhoeven 369253ed045SGeert Uytterhoeven /* update <audio_clk_b> to <cs2000> */ 370253ed045SGeert Uytterhoeven clocks = <&cpg CPG_MOD 1005>, 371253ed045SGeert Uytterhoeven <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>, 372253ed045SGeert Uytterhoeven <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>, 373253ed045SGeert Uytterhoeven <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>, 374253ed045SGeert Uytterhoeven <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>, 375253ed045SGeert Uytterhoeven <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>, 376253ed045SGeert Uytterhoeven <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>, 377253ed045SGeert Uytterhoeven <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>, 378253ed045SGeert Uytterhoeven <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>, 379253ed045SGeert Uytterhoeven <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>, 380253ed045SGeert Uytterhoeven <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>, 381253ed045SGeert Uytterhoeven <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, 382253ed045SGeert Uytterhoeven <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, 383253ed045SGeert Uytterhoeven <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>, 384253ed045SGeert Uytterhoeven <&audio_clk_a>, <&cs2000>, 385253ed045SGeert Uytterhoeven <&audio_clk_c>, 386*f2802c62SKuninori Morimoto <&cpg CPG_MOD 922>; 3875d3b226aSKuninori Morimoto}; 388253ed045SGeert Uytterhoeven 38979e903fbSGeert Uytterhoeven&rpc { 39079e903fbSGeert Uytterhoeven /* Left disabled. To be enabled by firmware when unlocked. */ 39179e903fbSGeert Uytterhoeven 39279e903fbSGeert Uytterhoeven flash@0 { 39379e903fbSGeert Uytterhoeven compatible = "cypress,hyperflash", "cfi-flash"; 39479e903fbSGeert Uytterhoeven reg = <0>; 39579e903fbSGeert Uytterhoeven 39679e903fbSGeert Uytterhoeven partitions { 39779e903fbSGeert Uytterhoeven compatible = "fixed-partitions"; 39879e903fbSGeert Uytterhoeven #address-cells = <1>; 39979e903fbSGeert Uytterhoeven #size-cells = <1>; 40079e903fbSGeert Uytterhoeven 40179e903fbSGeert Uytterhoeven bootparam@0 { 40279e903fbSGeert Uytterhoeven reg = <0x00000000 0x040000>; 40379e903fbSGeert Uytterhoeven read-only; 40479e903fbSGeert Uytterhoeven }; 40579e903fbSGeert Uytterhoeven bl2@40000 { 40679e903fbSGeert Uytterhoeven reg = <0x00040000 0x140000>; 40779e903fbSGeert Uytterhoeven read-only; 40879e903fbSGeert Uytterhoeven }; 40979e903fbSGeert Uytterhoeven cert_header_sa6@180000 { 41079e903fbSGeert Uytterhoeven reg = <0x00180000 0x040000>; 41179e903fbSGeert Uytterhoeven read-only; 41279e903fbSGeert Uytterhoeven }; 41379e903fbSGeert Uytterhoeven bl31@1c0000 { 41479e903fbSGeert Uytterhoeven reg = <0x001c0000 0x040000>; 41579e903fbSGeert Uytterhoeven read-only; 41679e903fbSGeert Uytterhoeven }; 41779e903fbSGeert Uytterhoeven tee@200000 { 41879e903fbSGeert Uytterhoeven reg = <0x00200000 0x440000>; 41979e903fbSGeert Uytterhoeven read-only; 42079e903fbSGeert Uytterhoeven }; 42179e903fbSGeert Uytterhoeven uboot@640000 { 42279e903fbSGeert Uytterhoeven reg = <0x00640000 0x100000>; 42379e903fbSGeert Uytterhoeven read-only; 42479e903fbSGeert Uytterhoeven }; 42579e903fbSGeert Uytterhoeven dtb@740000 { 42679e903fbSGeert Uytterhoeven reg = <0x00740000 0x080000>; 42779e903fbSGeert Uytterhoeven }; 42879e903fbSGeert Uytterhoeven kernel@7c0000 { 42979e903fbSGeert Uytterhoeven reg = <0x007c0000 0x1400000>; 43079e903fbSGeert Uytterhoeven }; 43179e903fbSGeert Uytterhoeven user@1bc0000 { 43279e903fbSGeert Uytterhoeven reg = <0x01bc0000 0x2440000>; 43379e903fbSGeert Uytterhoeven }; 43479e903fbSGeert Uytterhoeven }; 43579e903fbSGeert Uytterhoeven }; 43679e903fbSGeert Uytterhoeven}; 43779e903fbSGeert Uytterhoeven 4380a05b3d7SYoshihiro Kaneko&rwdt { 4390a05b3d7SYoshihiro Kaneko timeout-sec = <60>; 4400a05b3d7SYoshihiro Kaneko status = "okay"; 4410a05b3d7SYoshihiro Kaneko}; 4420a05b3d7SYoshihiro Kaneko 443253ed045SGeert Uytterhoeven&scif2 { 444253ed045SGeert Uytterhoeven pinctrl-0 = <&scif2_pins>; 445253ed045SGeert Uytterhoeven pinctrl-names = "default"; 446253ed045SGeert Uytterhoeven 447253ed045SGeert Uytterhoeven status = "okay"; 448253ed045SGeert Uytterhoeven}; 449253ed045SGeert Uytterhoeven 450253ed045SGeert Uytterhoeven&scif_clk { 451253ed045SGeert Uytterhoeven clock-frequency = <14745600>; 452253ed045SGeert Uytterhoeven}; 453253ed045SGeert Uytterhoeven 454253ed045SGeert Uytterhoeven&sdhi0 { 455253ed045SGeert Uytterhoeven pinctrl-0 = <&sdhi0_pins>; 456253ed045SGeert Uytterhoeven pinctrl-1 = <&sdhi0_pins_uhs>; 457253ed045SGeert Uytterhoeven pinctrl-names = "default", "state_uhs"; 458253ed045SGeert Uytterhoeven 459253ed045SGeert Uytterhoeven vmmc-supply = <&vcc_sdhi0>; 460253ed045SGeert Uytterhoeven vqmmc-supply = <&vccq_sdhi0>; 461253ed045SGeert Uytterhoeven cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>; 462253ed045SGeert Uytterhoeven bus-width = <4>; 463253ed045SGeert Uytterhoeven sd-uhs-sdr50; 4649bc03b57SWolfram Sang sd-uhs-sdr104; 465253ed045SGeert Uytterhoeven status = "okay"; 466253ed045SGeert Uytterhoeven}; 467253ed045SGeert Uytterhoeven 468253ed045SGeert Uytterhoeven&sdhi2 { 469253ed045SGeert Uytterhoeven /* used for on-board 8bit eMMC */ 470253ed045SGeert Uytterhoeven pinctrl-0 = <&sdhi2_pins>; 4715f65328dSMarek Vasut pinctrl-1 = <&sdhi2_pins>; 472253ed045SGeert Uytterhoeven pinctrl-names = "default", "state_uhs"; 473253ed045SGeert Uytterhoeven 474253ed045SGeert Uytterhoeven vmmc-supply = <®_3p3v>; 475253ed045SGeert Uytterhoeven vqmmc-supply = <®_1p8v>; 476253ed045SGeert Uytterhoeven bus-width = <8>; 477253ed045SGeert Uytterhoeven mmc-hs200-1_8v; 478e536d27eSNiklas Söderlund mmc-hs400-1_8v; 479d68c9edfSWolfram Sang no-sd; 480d68c9edfSWolfram Sang no-sdio; 481253ed045SGeert Uytterhoeven non-removable; 482992d7a8bSYoshihiro Shimoda full-pwr-cycle-in-suspend; 483253ed045SGeert Uytterhoeven status = "okay"; 484253ed045SGeert Uytterhoeven}; 485253ed045SGeert Uytterhoeven 486253ed045SGeert Uytterhoeven&ssi1 { 487253ed045SGeert Uytterhoeven shared-pin; 488253ed045SGeert Uytterhoeven}; 489253ed045SGeert Uytterhoeven 490253ed045SGeert Uytterhoeven&usb2_phy1 { 491253ed045SGeert Uytterhoeven pinctrl-0 = <&usb1_pins>; 492253ed045SGeert Uytterhoeven pinctrl-names = "default"; 493253ed045SGeert Uytterhoeven 494253ed045SGeert Uytterhoeven status = "okay"; 495253ed045SGeert Uytterhoeven}; 4963e2db2c2SKuninori Morimoto 497c9d95cf0SKuninori Morimoto 4983e2db2c2SKuninori Morimoto/* 4993e2db2c2SKuninori Morimoto * For sound-test. 5003e2db2c2SKuninori Morimoto * 5013e2db2c2SKuninori Morimoto * We can switch Audio Card for testing 5023e2db2c2SKuninori Morimoto * 50362661f3bSKuninori Morimoto * #include "ulcb-simple-audio-card.dtsi" 504c9d95cf0SKuninori Morimoto * #include "ulcb-simple-audio-card-mix+split.dtsi" 5053e2db2c2SKuninori Morimoto * #include "ulcb-audio-graph-card.dtsi" 506ccb26ac5SKuninori Morimoto * #include "ulcb-audio-graph-card-mix+split.dtsi" 50715ec87e0SKuninori Morimoto * #include "ulcb-audio-graph-card2-mix+split.dtsi" 5083e2db2c2SKuninori Morimoto */ 5093e2db2c2SKuninori Morimoto#include "ulcb-audio-graph-card2.dtsi" 510