1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Device Tree Source for the Porter board 4f126890aSEmmanuel Vadot * 5f126890aSEmmanuel Vadot * Copyright (C) 2015 Cogent Embedded, Inc. 6f126890aSEmmanuel Vadot */ 7f126890aSEmmanuel Vadot 8f126890aSEmmanuel Vadot/* 9f126890aSEmmanuel Vadot * SSI-AK4642 10f126890aSEmmanuel Vadot * 11f126890aSEmmanuel Vadot * JP3: 2-1: AK4642 12f126890aSEmmanuel Vadot * 2-3: ADV7511 13f126890aSEmmanuel Vadot * 14f126890aSEmmanuel Vadot * This command is required before playback/capture: 15f126890aSEmmanuel Vadot * 16f126890aSEmmanuel Vadot * amixer set "LINEOUT Mixer DACL" on 17f126890aSEmmanuel Vadot */ 18f126890aSEmmanuel Vadot 19f126890aSEmmanuel Vadot/dts-v1/; 20f126890aSEmmanuel Vadot#include "r8a7791.dtsi" 21f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 22f126890aSEmmanuel Vadot 23f126890aSEmmanuel Vadot/ { 24f126890aSEmmanuel Vadot model = "Porter"; 25f126890aSEmmanuel Vadot compatible = "renesas,porter", "renesas,r8a7791"; 26f126890aSEmmanuel Vadot 27f126890aSEmmanuel Vadot aliases { 28f126890aSEmmanuel Vadot serial0 = &scif0; 29f126890aSEmmanuel Vadot i2c9 = &gpioi2c2; 30f126890aSEmmanuel Vadot i2c10 = &i2chdmi; 31f126890aSEmmanuel Vadot mmc0 = &sdhi0; 32f126890aSEmmanuel Vadot mmc1 = &sdhi2; 33f126890aSEmmanuel Vadot }; 34f126890aSEmmanuel Vadot 35f126890aSEmmanuel Vadot chosen { 36f126890aSEmmanuel Vadot bootargs = "ignore_loglevel rw root=/dev/nfs ip=on"; 37f126890aSEmmanuel Vadot stdout-path = "serial0:115200n8"; 38f126890aSEmmanuel Vadot }; 39f126890aSEmmanuel Vadot 40f126890aSEmmanuel Vadot memory@40000000 { 41f126890aSEmmanuel Vadot device_type = "memory"; 42f126890aSEmmanuel Vadot reg = <0 0x40000000 0 0x40000000>; 43f126890aSEmmanuel Vadot }; 44f126890aSEmmanuel Vadot 45f126890aSEmmanuel Vadot memory@200000000 { 46f126890aSEmmanuel Vadot device_type = "memory"; 47f126890aSEmmanuel Vadot reg = <2 0x00000000 0 0x40000000>; 48f126890aSEmmanuel Vadot }; 49f126890aSEmmanuel Vadot 50*8d13bc63SEmmanuel Vadot reg_1p8v: regulator-1v8 { 51*8d13bc63SEmmanuel Vadot compatible = "regulator-fixed"; 52*8d13bc63SEmmanuel Vadot regulator-name = "fixed-1.8V"; 53*8d13bc63SEmmanuel Vadot regulator-min-microvolt = <1800000>; 54*8d13bc63SEmmanuel Vadot regulator-max-microvolt = <1800000>; 55*8d13bc63SEmmanuel Vadot regulator-boot-on; 56*8d13bc63SEmmanuel Vadot regulator-always-on; 57*8d13bc63SEmmanuel Vadot }; 58*8d13bc63SEmmanuel Vadot 59*8d13bc63SEmmanuel Vadot reg_3p3v: regulator-3v3 { 60*8d13bc63SEmmanuel Vadot compatible = "regulator-fixed"; 61*8d13bc63SEmmanuel Vadot regulator-name = "fixed-3.3V"; 62*8d13bc63SEmmanuel Vadot regulator-min-microvolt = <3300000>; 63*8d13bc63SEmmanuel Vadot regulator-max-microvolt = <3300000>; 64*8d13bc63SEmmanuel Vadot regulator-boot-on; 65*8d13bc63SEmmanuel Vadot regulator-always-on; 66*8d13bc63SEmmanuel Vadot }; 67*8d13bc63SEmmanuel Vadot 68f126890aSEmmanuel Vadot vcc_sdhi0: regulator-vcc-sdhi0 { 69f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 70f126890aSEmmanuel Vadot 71f126890aSEmmanuel Vadot regulator-name = "SDHI0 Vcc"; 72f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 73f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 74f126890aSEmmanuel Vadot regulator-always-on; 75f126890aSEmmanuel Vadot }; 76f126890aSEmmanuel Vadot 77f126890aSEmmanuel Vadot vccq_sdhi0: regulator-vccq-sdhi0 { 78f126890aSEmmanuel Vadot compatible = "regulator-gpio"; 79f126890aSEmmanuel Vadot 80f126890aSEmmanuel Vadot regulator-name = "SDHI0 VccQ"; 81f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 82f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 83f126890aSEmmanuel Vadot 84f126890aSEmmanuel Vadot gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>; 85f126890aSEmmanuel Vadot gpios-states = <1>; 86f126890aSEmmanuel Vadot states = <3300000 1>, <1800000 0>; 87f126890aSEmmanuel Vadot }; 88f126890aSEmmanuel Vadot 89f126890aSEmmanuel Vadot vcc_sdhi2: regulator-vcc-sdhi2 { 90f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 91f126890aSEmmanuel Vadot 92f126890aSEmmanuel Vadot regulator-name = "SDHI2 Vcc"; 93f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 94f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 95f126890aSEmmanuel Vadot regulator-always-on; 96f126890aSEmmanuel Vadot }; 97f126890aSEmmanuel Vadot 98f126890aSEmmanuel Vadot vccq_sdhi2: regulator-vccq-sdhi2 { 99f126890aSEmmanuel Vadot compatible = "regulator-gpio"; 100f126890aSEmmanuel Vadot 101f126890aSEmmanuel Vadot regulator-name = "SDHI2 VccQ"; 102f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 103f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 104f126890aSEmmanuel Vadot 105f126890aSEmmanuel Vadot gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; 106f126890aSEmmanuel Vadot gpios-states = <1>; 107f126890aSEmmanuel Vadot states = <3300000 1>, <1800000 0>; 108f126890aSEmmanuel Vadot }; 109f126890aSEmmanuel Vadot 110f126890aSEmmanuel Vadot hdmi-out { 111f126890aSEmmanuel Vadot compatible = "hdmi-connector"; 112f126890aSEmmanuel Vadot type = "a"; 113f126890aSEmmanuel Vadot 114f126890aSEmmanuel Vadot port { 115f126890aSEmmanuel Vadot hdmi_con: endpoint { 116f126890aSEmmanuel Vadot remote-endpoint = <&adv7511_out>; 117f126890aSEmmanuel Vadot }; 118f126890aSEmmanuel Vadot }; 119f126890aSEmmanuel Vadot }; 120f126890aSEmmanuel Vadot 121f126890aSEmmanuel Vadot x3_clk: x3-clock { 122f126890aSEmmanuel Vadot compatible = "fixed-clock"; 123f126890aSEmmanuel Vadot #clock-cells = <0>; 124f126890aSEmmanuel Vadot clock-frequency = <148500000>; 125f126890aSEmmanuel Vadot }; 126f126890aSEmmanuel Vadot 127f126890aSEmmanuel Vadot x16_clk: x16-clock { 128f126890aSEmmanuel Vadot compatible = "fixed-clock"; 129f126890aSEmmanuel Vadot #clock-cells = <0>; 130f126890aSEmmanuel Vadot clock-frequency = <74250000>; 131f126890aSEmmanuel Vadot }; 132f126890aSEmmanuel Vadot 133f126890aSEmmanuel Vadot x14_clk: audio_clock { 134f126890aSEmmanuel Vadot compatible = "fixed-clock"; 135f126890aSEmmanuel Vadot #clock-cells = <0>; 136f126890aSEmmanuel Vadot clock-frequency = <11289600>; 137f126890aSEmmanuel Vadot }; 138f126890aSEmmanuel Vadot 139f126890aSEmmanuel Vadot sound { 140f126890aSEmmanuel Vadot compatible = "simple-audio-card"; 141f126890aSEmmanuel Vadot 142f126890aSEmmanuel Vadot simple-audio-card,format = "left_j"; 143f126890aSEmmanuel Vadot simple-audio-card,bitclock-master = <&soundcodec>; 144f126890aSEmmanuel Vadot simple-audio-card,frame-master = <&soundcodec>; 145f126890aSEmmanuel Vadot 146f126890aSEmmanuel Vadot simple-audio-card,cpu { 147f126890aSEmmanuel Vadot sound-dai = <&rcar_sound>; 148f126890aSEmmanuel Vadot }; 149f126890aSEmmanuel Vadot 150f126890aSEmmanuel Vadot soundcodec: simple-audio-card,codec { 151f126890aSEmmanuel Vadot sound-dai = <&ak4642>; 152f126890aSEmmanuel Vadot clocks = <&x14_clk>; 153f126890aSEmmanuel Vadot }; 154f126890aSEmmanuel Vadot }; 155f126890aSEmmanuel Vadot 156f126890aSEmmanuel Vadot gpioi2c2: i2c-9 { 157f126890aSEmmanuel Vadot #address-cells = <1>; 158f126890aSEmmanuel Vadot #size-cells = <0>; 159f126890aSEmmanuel Vadot compatible = "i2c-gpio"; 160f126890aSEmmanuel Vadot status = "disabled"; 161f126890aSEmmanuel Vadot scl-gpios = <&gpio2 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 162f126890aSEmmanuel Vadot sda-gpios = <&gpio2 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 163f126890aSEmmanuel Vadot i2c-gpio,delay-us = <5>; 164f126890aSEmmanuel Vadot }; 165f126890aSEmmanuel Vadot 166f126890aSEmmanuel Vadot /* 167f126890aSEmmanuel Vadot * A fallback to GPIO is provided for I2C2. 168f126890aSEmmanuel Vadot */ 169*8d13bc63SEmmanuel Vadot i2chdmi: i2c-mux1 { 170f126890aSEmmanuel Vadot compatible = "i2c-demux-pinctrl"; 171f126890aSEmmanuel Vadot i2c-parent = <&i2c2>, <&gpioi2c2>; 172f126890aSEmmanuel Vadot i2c-bus-name = "i2c-hdmi"; 173f126890aSEmmanuel Vadot #address-cells = <1>; 174f126890aSEmmanuel Vadot #size-cells = <0>; 175f126890aSEmmanuel Vadot 176f126890aSEmmanuel Vadot ak4642: codec@12 { 177f126890aSEmmanuel Vadot compatible = "asahi-kasei,ak4642"; 178f126890aSEmmanuel Vadot #sound-dai-cells = <0>; 179f126890aSEmmanuel Vadot reg = <0x12>; 180f126890aSEmmanuel Vadot }; 181f126890aSEmmanuel Vadot 182f126890aSEmmanuel Vadot composite-in@20 { 183f126890aSEmmanuel Vadot compatible = "adi,adv7180"; 184f126890aSEmmanuel Vadot reg = <0x20>; 185f126890aSEmmanuel Vadot 186f126890aSEmmanuel Vadot port { 187f126890aSEmmanuel Vadot adv7180: endpoint { 188f126890aSEmmanuel Vadot bus-width = <8>; 189f126890aSEmmanuel Vadot remote-endpoint = <&vin0ep>; 190f126890aSEmmanuel Vadot }; 191f126890aSEmmanuel Vadot }; 192f126890aSEmmanuel Vadot }; 193f126890aSEmmanuel Vadot 194f126890aSEmmanuel Vadot hdmi@39 { 195f126890aSEmmanuel Vadot compatible = "adi,adv7511w"; 196f126890aSEmmanuel Vadot reg = <0x39>; 197f126890aSEmmanuel Vadot interrupt-parent = <&gpio3>; 198f126890aSEmmanuel Vadot interrupts = <29 IRQ_TYPE_LEVEL_LOW>; 199f126890aSEmmanuel Vadot 200*8d13bc63SEmmanuel Vadot avdd-supply = <®_1p8v>; 201*8d13bc63SEmmanuel Vadot dvdd-supply = <®_1p8v>; 202*8d13bc63SEmmanuel Vadot pvdd-supply = <®_1p8v>; 203*8d13bc63SEmmanuel Vadot dvdd-3v-supply = <®_3p3v>; 204*8d13bc63SEmmanuel Vadot bgvdd-supply = <®_1p8v>; 205*8d13bc63SEmmanuel Vadot 206f126890aSEmmanuel Vadot adi,input-depth = <8>; 207f126890aSEmmanuel Vadot adi,input-colorspace = "rgb"; 208f126890aSEmmanuel Vadot adi,input-clock = "1x"; 209f126890aSEmmanuel Vadot 210f126890aSEmmanuel Vadot ports { 211f126890aSEmmanuel Vadot #address-cells = <1>; 212f126890aSEmmanuel Vadot #size-cells = <0>; 213f126890aSEmmanuel Vadot 214f126890aSEmmanuel Vadot port@0 { 215f126890aSEmmanuel Vadot reg = <0>; 216f126890aSEmmanuel Vadot adv7511_in: endpoint { 217f126890aSEmmanuel Vadot remote-endpoint = <&du_out_rgb>; 218f126890aSEmmanuel Vadot }; 219f126890aSEmmanuel Vadot }; 220f126890aSEmmanuel Vadot 221f126890aSEmmanuel Vadot port@1 { 222f126890aSEmmanuel Vadot reg = <1>; 223f126890aSEmmanuel Vadot adv7511_out: endpoint { 224f126890aSEmmanuel Vadot remote-endpoint = <&hdmi_con>; 225f126890aSEmmanuel Vadot }; 226f126890aSEmmanuel Vadot }; 227f126890aSEmmanuel Vadot }; 228f126890aSEmmanuel Vadot }; 229f126890aSEmmanuel Vadot }; 230f126890aSEmmanuel Vadot}; 231f126890aSEmmanuel Vadot 232f126890aSEmmanuel Vadot&extal_clk { 233f126890aSEmmanuel Vadot clock-frequency = <20000000>; 234f126890aSEmmanuel Vadot}; 235f126890aSEmmanuel Vadot 236f126890aSEmmanuel Vadot&pfc { 237f126890aSEmmanuel Vadot scif0_pins: scif0 { 238f126890aSEmmanuel Vadot groups = "scif0_data_d"; 239f126890aSEmmanuel Vadot function = "scif0"; 240f126890aSEmmanuel Vadot }; 241f126890aSEmmanuel Vadot 242f126890aSEmmanuel Vadot ether_pins: ether { 243f126890aSEmmanuel Vadot groups = "eth_link", "eth_mdio", "eth_rmii"; 244f126890aSEmmanuel Vadot function = "eth"; 245f126890aSEmmanuel Vadot }; 246f126890aSEmmanuel Vadot 247f126890aSEmmanuel Vadot phy1_pins: phy1 { 248f126890aSEmmanuel Vadot groups = "intc_irq0"; 249f126890aSEmmanuel Vadot function = "intc"; 250f126890aSEmmanuel Vadot }; 251f126890aSEmmanuel Vadot 252f126890aSEmmanuel Vadot pmic_irq_pins: pmicirq { 253f126890aSEmmanuel Vadot groups = "intc_irq2"; 254f126890aSEmmanuel Vadot function = "intc"; 255f126890aSEmmanuel Vadot }; 256f126890aSEmmanuel Vadot 257f126890aSEmmanuel Vadot sdhi0_pins: sd0 { 258f126890aSEmmanuel Vadot groups = "sdhi0_data4", "sdhi0_ctrl"; 259f126890aSEmmanuel Vadot function = "sdhi0"; 260f126890aSEmmanuel Vadot }; 261f126890aSEmmanuel Vadot 262f126890aSEmmanuel Vadot sdhi2_pins: sd2 { 263f126890aSEmmanuel Vadot groups = "sdhi2_data4", "sdhi2_ctrl"; 264f126890aSEmmanuel Vadot function = "sdhi2"; 265f126890aSEmmanuel Vadot }; 266f126890aSEmmanuel Vadot 267f126890aSEmmanuel Vadot qspi_pins: qspi { 268f126890aSEmmanuel Vadot groups = "qspi_ctrl", "qspi_data4"; 269f126890aSEmmanuel Vadot function = "qspi"; 270f126890aSEmmanuel Vadot }; 271f126890aSEmmanuel Vadot 272f126890aSEmmanuel Vadot i2c2_pins: i2c2 { 273f126890aSEmmanuel Vadot groups = "i2c2"; 274f126890aSEmmanuel Vadot function = "i2c2"; 275f126890aSEmmanuel Vadot }; 276f126890aSEmmanuel Vadot 277f126890aSEmmanuel Vadot usb0_pins: usb0 { 278f126890aSEmmanuel Vadot groups = "usb0"; 279f126890aSEmmanuel Vadot function = "usb0"; 280f126890aSEmmanuel Vadot }; 281f126890aSEmmanuel Vadot 282f126890aSEmmanuel Vadot usb1_pins: usb1 { 283f126890aSEmmanuel Vadot groups = "usb1"; 284f126890aSEmmanuel Vadot function = "usb1"; 285f126890aSEmmanuel Vadot }; 286f126890aSEmmanuel Vadot 287f126890aSEmmanuel Vadot vin0_pins: vin0 { 288f126890aSEmmanuel Vadot groups = "vin0_data8", "vin0_clk"; 289f126890aSEmmanuel Vadot function = "vin0"; 290f126890aSEmmanuel Vadot }; 291f126890aSEmmanuel Vadot 292f126890aSEmmanuel Vadot can0_pins: can0 { 293f126890aSEmmanuel Vadot groups = "can0_data"; 294f126890aSEmmanuel Vadot function = "can0"; 295f126890aSEmmanuel Vadot }; 296f126890aSEmmanuel Vadot 297f126890aSEmmanuel Vadot du_pins: du { 298f126890aSEmmanuel Vadot groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0"; 299f126890aSEmmanuel Vadot function = "du"; 300f126890aSEmmanuel Vadot }; 301f126890aSEmmanuel Vadot 302f126890aSEmmanuel Vadot ssi_pins: sound { 303f126890aSEmmanuel Vadot groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data"; 304f126890aSEmmanuel Vadot function = "ssi"; 305f126890aSEmmanuel Vadot }; 306f126890aSEmmanuel Vadot 307f126890aSEmmanuel Vadot audio_clk_pins: audio_clk { 308f126890aSEmmanuel Vadot groups = "audio_clk_a"; 309f126890aSEmmanuel Vadot function = "audio_clk"; 310f126890aSEmmanuel Vadot }; 311f126890aSEmmanuel Vadot}; 312f126890aSEmmanuel Vadot 313f126890aSEmmanuel Vadot&scif0 { 314f126890aSEmmanuel Vadot pinctrl-0 = <&scif0_pins>; 315f126890aSEmmanuel Vadot pinctrl-names = "default"; 316f126890aSEmmanuel Vadot 317f126890aSEmmanuel Vadot status = "okay"; 318f126890aSEmmanuel Vadot}; 319f126890aSEmmanuel Vadot 320f126890aSEmmanuel Vadotðer { 321f126890aSEmmanuel Vadot pinctrl-0 = <ðer_pins>, <&phy1_pins>; 322f126890aSEmmanuel Vadot pinctrl-names = "default"; 323f126890aSEmmanuel Vadot 324f126890aSEmmanuel Vadot phy-handle = <&phy1>; 325f126890aSEmmanuel Vadot renesas,ether-link-active-low; 326f126890aSEmmanuel Vadot status = "okay"; 327f126890aSEmmanuel Vadot 328f126890aSEmmanuel Vadot phy1: ethernet-phy@1 { 329f126890aSEmmanuel Vadot compatible = "ethernet-phy-id0022.1537", 330f126890aSEmmanuel Vadot "ethernet-phy-ieee802.3-c22"; 331f126890aSEmmanuel Vadot reg = <1>; 332f126890aSEmmanuel Vadot interrupt-parent = <&irqc0>; 333f126890aSEmmanuel Vadot interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 334f126890aSEmmanuel Vadot micrel,led-mode = <1>; 335f126890aSEmmanuel Vadot reset-gpios = <&gpio5 22 GPIO_ACTIVE_LOW>; 336f126890aSEmmanuel Vadot }; 337f126890aSEmmanuel Vadot}; 338f126890aSEmmanuel Vadot 339f126890aSEmmanuel Vadot&sdhi0 { 340f126890aSEmmanuel Vadot pinctrl-0 = <&sdhi0_pins>; 341f126890aSEmmanuel Vadot pinctrl-names = "default"; 342f126890aSEmmanuel Vadot 343f126890aSEmmanuel Vadot vmmc-supply = <&vcc_sdhi0>; 344f126890aSEmmanuel Vadot vqmmc-supply = <&vccq_sdhi0>; 345f126890aSEmmanuel Vadot cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>; 346f126890aSEmmanuel Vadot wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; 347f126890aSEmmanuel Vadot status = "okay"; 348f126890aSEmmanuel Vadot}; 349f126890aSEmmanuel Vadot 350f126890aSEmmanuel Vadot&sdhi2 { 351f126890aSEmmanuel Vadot pinctrl-0 = <&sdhi2_pins>; 352f126890aSEmmanuel Vadot pinctrl-names = "default"; 353f126890aSEmmanuel Vadot 354f126890aSEmmanuel Vadot vmmc-supply = <&vcc_sdhi2>; 355f126890aSEmmanuel Vadot vqmmc-supply = <&vccq_sdhi2>; 356f126890aSEmmanuel Vadot cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>; 357f126890aSEmmanuel Vadot status = "okay"; 358f126890aSEmmanuel Vadot}; 359f126890aSEmmanuel Vadot 360f126890aSEmmanuel Vadot&qspi { 361f126890aSEmmanuel Vadot pinctrl-0 = <&qspi_pins>; 362f126890aSEmmanuel Vadot pinctrl-names = "default"; 363f126890aSEmmanuel Vadot 364f126890aSEmmanuel Vadot status = "okay"; 365f126890aSEmmanuel Vadot 366f126890aSEmmanuel Vadot flash@0 { 367f126890aSEmmanuel Vadot compatible = "spansion,s25fl512s", "jedec,spi-nor"; 368f126890aSEmmanuel Vadot reg = <0>; 369f126890aSEmmanuel Vadot spi-max-frequency = <30000000>; 370f126890aSEmmanuel Vadot spi-tx-bus-width = <4>; 371f126890aSEmmanuel Vadot spi-rx-bus-width = <4>; 372f126890aSEmmanuel Vadot m25p,fast-read; 373f126890aSEmmanuel Vadot 374f126890aSEmmanuel Vadot partitions { 375f126890aSEmmanuel Vadot compatible = "fixed-partitions"; 376f126890aSEmmanuel Vadot #address-cells = <1>; 377f126890aSEmmanuel Vadot #size-cells = <1>; 378f126890aSEmmanuel Vadot 379f126890aSEmmanuel Vadot partition@0 { 380f126890aSEmmanuel Vadot label = "loader_prg"; 381f126890aSEmmanuel Vadot reg = <0x00000000 0x00040000>; 382f126890aSEmmanuel Vadot read-only; 383f126890aSEmmanuel Vadot }; 384f126890aSEmmanuel Vadot partition@40000 { 385f126890aSEmmanuel Vadot label = "user_prg"; 386f126890aSEmmanuel Vadot reg = <0x00040000 0x00400000>; 387f126890aSEmmanuel Vadot read-only; 388f126890aSEmmanuel Vadot }; 389f126890aSEmmanuel Vadot partition@440000 { 390f126890aSEmmanuel Vadot label = "flash_fs"; 391f126890aSEmmanuel Vadot reg = <0x00440000 0x03bc0000>; 392f126890aSEmmanuel Vadot }; 393f126890aSEmmanuel Vadot }; 394f126890aSEmmanuel Vadot }; 395f126890aSEmmanuel Vadot}; 396f126890aSEmmanuel Vadot 397f126890aSEmmanuel Vadot&i2c2 { 398f126890aSEmmanuel Vadot pinctrl-0 = <&i2c2_pins>; 399f126890aSEmmanuel Vadot pinctrl-names = "i2c-hdmi"; 400f126890aSEmmanuel Vadot 401f126890aSEmmanuel Vadot clock-frequency = <400000>; 402f126890aSEmmanuel Vadot}; 403f126890aSEmmanuel Vadot 404f126890aSEmmanuel Vadot&i2c6 { 405f126890aSEmmanuel Vadot pinctrl-names = "default"; 406f126890aSEmmanuel Vadot pinctrl-0 = <&pmic_irq_pins>; 407f126890aSEmmanuel Vadot status = "okay"; 408f126890aSEmmanuel Vadot clock-frequency = <100000>; 409f126890aSEmmanuel Vadot 410f126890aSEmmanuel Vadot pmic@5a { 411f126890aSEmmanuel Vadot compatible = "dlg,da9063l"; 412f126890aSEmmanuel Vadot reg = <0x5a>; 413f126890aSEmmanuel Vadot interrupt-parent = <&irqc0>; 414f126890aSEmmanuel Vadot interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 415f126890aSEmmanuel Vadot interrupt-controller; 416*8d13bc63SEmmanuel Vadot #interrupt-cells = <2>; 417f126890aSEmmanuel Vadot 418f126890aSEmmanuel Vadot watchdog { 419f126890aSEmmanuel Vadot compatible = "dlg,da9063-watchdog"; 420f126890aSEmmanuel Vadot }; 421f126890aSEmmanuel Vadot }; 422f126890aSEmmanuel Vadot 423f126890aSEmmanuel Vadot vdd_dvfs: regulator@68 { 424f126890aSEmmanuel Vadot compatible = "dlg,da9210"; 425f126890aSEmmanuel Vadot reg = <0x68>; 426f126890aSEmmanuel Vadot interrupt-parent = <&irqc0>; 427f126890aSEmmanuel Vadot interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 428f126890aSEmmanuel Vadot 429f126890aSEmmanuel Vadot regulator-min-microvolt = <1000000>; 430f126890aSEmmanuel Vadot regulator-max-microvolt = <1000000>; 431f126890aSEmmanuel Vadot regulator-boot-on; 432f126890aSEmmanuel Vadot regulator-always-on; 433f126890aSEmmanuel Vadot }; 434f126890aSEmmanuel Vadot}; 435f126890aSEmmanuel Vadot 436f126890aSEmmanuel Vadot&sata0 { 437f126890aSEmmanuel Vadot status = "okay"; 438f126890aSEmmanuel Vadot}; 439f126890aSEmmanuel Vadot 440f126890aSEmmanuel Vadot&cpu0 { 441f126890aSEmmanuel Vadot cpu0-supply = <&vdd_dvfs>; 442f126890aSEmmanuel Vadot}; 443f126890aSEmmanuel Vadot 444f126890aSEmmanuel Vadot/* composite video input */ 445f126890aSEmmanuel Vadot&vin0 { 446f126890aSEmmanuel Vadot status = "okay"; 447f126890aSEmmanuel Vadot pinctrl-0 = <&vin0_pins>; 448f126890aSEmmanuel Vadot pinctrl-names = "default"; 449f126890aSEmmanuel Vadot 450f126890aSEmmanuel Vadot port { 451f126890aSEmmanuel Vadot vin0ep: endpoint { 452f126890aSEmmanuel Vadot remote-endpoint = <&adv7180>; 453f126890aSEmmanuel Vadot bus-width = <8>; 454f126890aSEmmanuel Vadot }; 455f126890aSEmmanuel Vadot }; 456f126890aSEmmanuel Vadot}; 457f126890aSEmmanuel Vadot 458f126890aSEmmanuel Vadot&pci0 { 459f126890aSEmmanuel Vadot pinctrl-0 = <&usb0_pins>; 460f126890aSEmmanuel Vadot pinctrl-names = "default"; 461f126890aSEmmanuel Vadot 462f126890aSEmmanuel Vadot status = "okay"; 463f126890aSEmmanuel Vadot}; 464f126890aSEmmanuel Vadot 465f126890aSEmmanuel Vadot&pci1 { 466f126890aSEmmanuel Vadot pinctrl-0 = <&usb1_pins>; 467f126890aSEmmanuel Vadot pinctrl-names = "default"; 468f126890aSEmmanuel Vadot 469f126890aSEmmanuel Vadot status = "okay"; 470f126890aSEmmanuel Vadot}; 471f126890aSEmmanuel Vadot 472f126890aSEmmanuel Vadot&hsusb { 473f126890aSEmmanuel Vadot pinctrl-0 = <&usb0_pins>; 474f126890aSEmmanuel Vadot pinctrl-names = "default"; 475f126890aSEmmanuel Vadot 476f126890aSEmmanuel Vadot status = "okay"; 477f126890aSEmmanuel Vadot}; 478f126890aSEmmanuel Vadot 479f126890aSEmmanuel Vadot&usbphy { 480f126890aSEmmanuel Vadot status = "okay"; 481f126890aSEmmanuel Vadot}; 482f126890aSEmmanuel Vadot 483f126890aSEmmanuel Vadot&pcie_bus_clk { 484f126890aSEmmanuel Vadot clock-frequency = <100000000>; 485f126890aSEmmanuel Vadot}; 486f126890aSEmmanuel Vadot 487f126890aSEmmanuel Vadot&pciec { 488f126890aSEmmanuel Vadot status = "okay"; 489f126890aSEmmanuel Vadot}; 490f126890aSEmmanuel Vadot 491f126890aSEmmanuel Vadot&can0 { 492f126890aSEmmanuel Vadot pinctrl-0 = <&can0_pins>; 493f126890aSEmmanuel Vadot pinctrl-names = "default"; 494f126890aSEmmanuel Vadot 495f126890aSEmmanuel Vadot status = "okay"; 496f126890aSEmmanuel Vadot}; 497f126890aSEmmanuel Vadot 498f126890aSEmmanuel Vadot&du { 499f126890aSEmmanuel Vadot pinctrl-0 = <&du_pins>; 500f126890aSEmmanuel Vadot pinctrl-names = "default"; 501f126890aSEmmanuel Vadot status = "okay"; 502f126890aSEmmanuel Vadot 503f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, 504f126890aSEmmanuel Vadot <&x3_clk>, <&x16_clk>; 505f126890aSEmmanuel Vadot clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1"; 506f126890aSEmmanuel Vadot 507f126890aSEmmanuel Vadot ports { 508f126890aSEmmanuel Vadot port@0 { 509f126890aSEmmanuel Vadot endpoint { 510f126890aSEmmanuel Vadot remote-endpoint = <&adv7511_in>; 511f126890aSEmmanuel Vadot }; 512f126890aSEmmanuel Vadot }; 513f126890aSEmmanuel Vadot }; 514f126890aSEmmanuel Vadot}; 515f126890aSEmmanuel Vadot 516f126890aSEmmanuel Vadot&lvds0 { 517f126890aSEmmanuel Vadot ports { 518f126890aSEmmanuel Vadot port@1 { 519f126890aSEmmanuel Vadot lvds_connector: endpoint { 520f126890aSEmmanuel Vadot }; 521f126890aSEmmanuel Vadot }; 522f126890aSEmmanuel Vadot }; 523f126890aSEmmanuel Vadot}; 524f126890aSEmmanuel Vadot 525f126890aSEmmanuel Vadot&rcar_sound { 526f126890aSEmmanuel Vadot pinctrl-0 = <&ssi_pins>, <&audio_clk_pins>; 527f126890aSEmmanuel Vadot pinctrl-names = "default"; 528f126890aSEmmanuel Vadot status = "okay"; 529f126890aSEmmanuel Vadot 530f126890aSEmmanuel Vadot /* Single DAI */ 531f126890aSEmmanuel Vadot #sound-dai-cells = <0>; 532f126890aSEmmanuel Vadot 533f126890aSEmmanuel Vadot rcar_sound,dai { 534f126890aSEmmanuel Vadot dai0 { 535f126890aSEmmanuel Vadot playback = <&ssi0>; 536f126890aSEmmanuel Vadot capture = <&ssi1>; 537f126890aSEmmanuel Vadot }; 538f126890aSEmmanuel Vadot }; 539f126890aSEmmanuel Vadot}; 540f126890aSEmmanuel Vadot 541f126890aSEmmanuel Vadot&rwdt { 542f126890aSEmmanuel Vadot timeout-sec = <60>; 543f126890aSEmmanuel Vadot status = "okay"; 544f126890aSEmmanuel Vadot}; 545f126890aSEmmanuel Vadot 546f126890aSEmmanuel Vadot&ssi1 { 547f126890aSEmmanuel Vadot shared-pin; 548f126890aSEmmanuel Vadot}; 549