1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/ 4f126890aSEmmanuel Vadot */ 5f126890aSEmmanuel Vadot/dts-v1/; 6f126890aSEmmanuel Vadot 7f126890aSEmmanuel Vadot#include "dra72x.dtsi" 8f126890aSEmmanuel Vadot#include "dra7-ipu-dsp-common.dtsi" 9f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 10f126890aSEmmanuel Vadot#include <dt-bindings/clock/ti-dra7-atl.h> 11f126890aSEmmanuel Vadot 12f126890aSEmmanuel Vadot/ { 13f126890aSEmmanuel Vadot compatible = "ti,dra72-evm", "ti,dra722", "ti,dra72", "ti,dra7"; 14f126890aSEmmanuel Vadot 15f126890aSEmmanuel Vadot aliases { 16f126890aSEmmanuel Vadot display0 = &hdmi0; 17f126890aSEmmanuel Vadot }; 18f126890aSEmmanuel Vadot 19f126890aSEmmanuel Vadot chosen { 20f126890aSEmmanuel Vadot stdout-path = &uart1; 21f126890aSEmmanuel Vadot }; 22f126890aSEmmanuel Vadot 23f126890aSEmmanuel Vadot evm_12v0: fixedregulator-evm12v0 { 24f126890aSEmmanuel Vadot /* main supply */ 25f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 26f126890aSEmmanuel Vadot regulator-name = "evm_12v0"; 27f126890aSEmmanuel Vadot regulator-min-microvolt = <12000000>; 28f126890aSEmmanuel Vadot regulator-max-microvolt = <12000000>; 29f126890aSEmmanuel Vadot regulator-always-on; 30f126890aSEmmanuel Vadot regulator-boot-on; 31f126890aSEmmanuel Vadot }; 32f126890aSEmmanuel Vadot 33f126890aSEmmanuel Vadot evm_5v0: fixedregulator-evm5v0 { 34f126890aSEmmanuel Vadot /* Output 1 of TPS43351QDAPRQ1 on dra72-evm */ 35f126890aSEmmanuel Vadot /* Output 1 of LM5140QRWGTQ1 on dra71-evm */ 36f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 37f126890aSEmmanuel Vadot regulator-name = "evm_5v0"; 38f126890aSEmmanuel Vadot regulator-min-microvolt = <5000000>; 39f126890aSEmmanuel Vadot regulator-max-microvolt = <5000000>; 40f126890aSEmmanuel Vadot vin-supply = <&evm_12v0>; 41f126890aSEmmanuel Vadot regulator-always-on; 42f126890aSEmmanuel Vadot regulator-boot-on; 43f126890aSEmmanuel Vadot }; 44f126890aSEmmanuel Vadot 45f126890aSEmmanuel Vadot evm_3v6: fixedregulator-evm_3v6 { 46f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 47f126890aSEmmanuel Vadot regulator-name = "evm_3v6"; 48f126890aSEmmanuel Vadot regulator-min-microvolt = <3600000>; 49f126890aSEmmanuel Vadot regulator-max-microvolt = <3600000>; 50f126890aSEmmanuel Vadot vin-supply = <&evm_5v0>; 51f126890aSEmmanuel Vadot regulator-always-on; 52f126890aSEmmanuel Vadot regulator-boot-on; 53f126890aSEmmanuel Vadot }; 54f126890aSEmmanuel Vadot 55f126890aSEmmanuel Vadot vsys_3v3: fixedregulator-vsys3v3 { 56f126890aSEmmanuel Vadot /* Output 2 of TPS43351QDAPRQ1 on dra72-evm */ 57f126890aSEmmanuel Vadot /* Output 2 of LM5140QRWGTQ1 on dra71-evm */ 58f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 59f126890aSEmmanuel Vadot regulator-name = "vsys_3v3"; 60f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 61f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 62f126890aSEmmanuel Vadot vin-supply = <&evm_12v0>; 63f126890aSEmmanuel Vadot regulator-always-on; 64f126890aSEmmanuel Vadot regulator-boot-on; 65f126890aSEmmanuel Vadot }; 66f126890aSEmmanuel Vadot 67f126890aSEmmanuel Vadot evm_3v3_sw: fixedregulator-evm_3v3 { 68f126890aSEmmanuel Vadot /* TPS22965DSG */ 69f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 70f126890aSEmmanuel Vadot regulator-name = "evm_3v3"; 71f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 72f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 73f126890aSEmmanuel Vadot vin-supply = <&vsys_3v3>; 74f126890aSEmmanuel Vadot regulator-always-on; 75f126890aSEmmanuel Vadot regulator-boot-on; 76f126890aSEmmanuel Vadot }; 77f126890aSEmmanuel Vadot 78f126890aSEmmanuel Vadot aic_dvdd: fixedregulator-aic_dvdd { 79f126890aSEmmanuel Vadot /* TPS77018DBVT */ 80f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 81f126890aSEmmanuel Vadot regulator-name = "aic_dvdd"; 82f126890aSEmmanuel Vadot vin-supply = <&evm_3v3_sw>; 83f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 84f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 85f126890aSEmmanuel Vadot }; 86f126890aSEmmanuel Vadot 87f126890aSEmmanuel Vadot evm_3v3_sd: fixedregulator-sd { 88f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 89f126890aSEmmanuel Vadot regulator-name = "evm_3v3_sd"; 90f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 91f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 92f126890aSEmmanuel Vadot vin-supply = <&evm_3v3_sw>; 93f126890aSEmmanuel Vadot enable-active-high; 94f126890aSEmmanuel Vadot gpio = <&pcf_gpio_21 5 GPIO_ACTIVE_HIGH>; 95f126890aSEmmanuel Vadot }; 96f126890aSEmmanuel Vadot 97f126890aSEmmanuel Vadot extcon_usb1: extcon_usb1 { 98f126890aSEmmanuel Vadot compatible = "linux,extcon-usb-gpio"; 99*8d13bc63SEmmanuel Vadot id-gpios = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>; 100f126890aSEmmanuel Vadot }; 101f126890aSEmmanuel Vadot 102f126890aSEmmanuel Vadot extcon_usb2: extcon_usb2 { 103f126890aSEmmanuel Vadot compatible = "linux,extcon-usb-gpio"; 104*8d13bc63SEmmanuel Vadot id-gpios = <&pcf_gpio_21 2 GPIO_ACTIVE_HIGH>; 105f126890aSEmmanuel Vadot }; 106f126890aSEmmanuel Vadot 107f126890aSEmmanuel Vadot hdmi0: connector { 108f126890aSEmmanuel Vadot compatible = "hdmi-connector"; 109f126890aSEmmanuel Vadot label = "hdmi"; 110f126890aSEmmanuel Vadot 111f126890aSEmmanuel Vadot type = "a"; 112f126890aSEmmanuel Vadot 113f126890aSEmmanuel Vadot port { 114f126890aSEmmanuel Vadot hdmi_connector_in: endpoint { 115f126890aSEmmanuel Vadot remote-endpoint = <&tpd12s015_out>; 116f126890aSEmmanuel Vadot }; 117f126890aSEmmanuel Vadot }; 118f126890aSEmmanuel Vadot }; 119f126890aSEmmanuel Vadot 120f126890aSEmmanuel Vadot tpd12s015: encoder { 121f126890aSEmmanuel Vadot compatible = "ti,tpd12s015"; 122f126890aSEmmanuel Vadot 123f126890aSEmmanuel Vadot gpios = <&pcf_hdmi 4 GPIO_ACTIVE_HIGH>, /* P4, CT CP HPD */ 124f126890aSEmmanuel Vadot <&pcf_hdmi 5 GPIO_ACTIVE_HIGH>, /* P5, LS OE */ 125f126890aSEmmanuel Vadot <&gpio7 12 GPIO_ACTIVE_HIGH>; /* gpio7_12/sp1_cs2, HPD */ 126f126890aSEmmanuel Vadot 127f126890aSEmmanuel Vadot ports { 128f126890aSEmmanuel Vadot #address-cells = <1>; 129f126890aSEmmanuel Vadot #size-cells = <0>; 130f126890aSEmmanuel Vadot 131f126890aSEmmanuel Vadot port@0 { 132f126890aSEmmanuel Vadot reg = <0>; 133f126890aSEmmanuel Vadot 134f126890aSEmmanuel Vadot tpd12s015_in: endpoint { 135f126890aSEmmanuel Vadot remote-endpoint = <&hdmi_out>; 136f126890aSEmmanuel Vadot }; 137f126890aSEmmanuel Vadot }; 138f126890aSEmmanuel Vadot 139f126890aSEmmanuel Vadot port@1 { 140f126890aSEmmanuel Vadot reg = <1>; 141f126890aSEmmanuel Vadot 142f126890aSEmmanuel Vadot tpd12s015_out: endpoint { 143f126890aSEmmanuel Vadot remote-endpoint = <&hdmi_connector_in>; 144f126890aSEmmanuel Vadot }; 145f126890aSEmmanuel Vadot }; 146f126890aSEmmanuel Vadot }; 147f126890aSEmmanuel Vadot }; 148f126890aSEmmanuel Vadot 149f126890aSEmmanuel Vadot sound0: sound0 { 150f126890aSEmmanuel Vadot compatible = "simple-audio-card"; 151f126890aSEmmanuel Vadot simple-audio-card,name = "DRA7xx-EVM"; 152f126890aSEmmanuel Vadot simple-audio-card,widgets = 153f126890aSEmmanuel Vadot "Headphone", "Headphone Jack", 154f126890aSEmmanuel Vadot "Line", "Line Out", 155f126890aSEmmanuel Vadot "Microphone", "Mic Jack", 156f126890aSEmmanuel Vadot "Line", "Line In"; 157f126890aSEmmanuel Vadot simple-audio-card,routing = 158f126890aSEmmanuel Vadot "Headphone Jack", "HPLOUT", 159f126890aSEmmanuel Vadot "Headphone Jack", "HPROUT", 160f126890aSEmmanuel Vadot "Line Out", "LLOUT", 161f126890aSEmmanuel Vadot "Line Out", "RLOUT", 162f126890aSEmmanuel Vadot "MIC3L", "Mic Jack", 163f126890aSEmmanuel Vadot "MIC3R", "Mic Jack", 164f126890aSEmmanuel Vadot "Mic Jack", "Mic Bias", 165f126890aSEmmanuel Vadot "LINE1L", "Line In", 166f126890aSEmmanuel Vadot "LINE1R", "Line In"; 167f126890aSEmmanuel Vadot simple-audio-card,format = "dsp_b"; 168f126890aSEmmanuel Vadot simple-audio-card,bitclock-master = <&sound0_master>; 169f126890aSEmmanuel Vadot simple-audio-card,frame-master = <&sound0_master>; 170f126890aSEmmanuel Vadot simple-audio-card,bitclock-inversion; 171f126890aSEmmanuel Vadot 172f126890aSEmmanuel Vadot sound0_master: simple-audio-card,cpu { 173f126890aSEmmanuel Vadot sound-dai = <&mcasp3>; 174f126890aSEmmanuel Vadot system-clock-frequency = <5644800>; 175f126890aSEmmanuel Vadot }; 176f126890aSEmmanuel Vadot 177f126890aSEmmanuel Vadot simple-audio-card,codec { 178f126890aSEmmanuel Vadot sound-dai = <&tlv320aic3106>; 179f126890aSEmmanuel Vadot clocks = <&atl_clkin2_ck>; 180f126890aSEmmanuel Vadot }; 181f126890aSEmmanuel Vadot }; 182f126890aSEmmanuel Vadot 183f126890aSEmmanuel Vadot vmmcwl_fixed: fixedregulator-mmcwl { 184f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 185f126890aSEmmanuel Vadot regulator-name = "vmmcwl_fixed"; 186f126890aSEmmanuel Vadot regulator-min-microvolt = <1800000>; 187f126890aSEmmanuel Vadot regulator-max-microvolt = <1800000>; 188f126890aSEmmanuel Vadot gpio = <&gpio5 8 GPIO_ACTIVE_HIGH>; 189f126890aSEmmanuel Vadot enable-active-high; 190f126890aSEmmanuel Vadot }; 191f126890aSEmmanuel Vadot 192f126890aSEmmanuel Vadot clk_ov5640_fixed: clock { 193f126890aSEmmanuel Vadot compatible = "fixed-clock"; 194f126890aSEmmanuel Vadot #clock-cells = <0>; 195f126890aSEmmanuel Vadot clock-frequency = <24000000>; 196f126890aSEmmanuel Vadot }; 197f126890aSEmmanuel Vadot}; 198f126890aSEmmanuel Vadot 199f126890aSEmmanuel Vadot&dra7_pmx_core { 200f126890aSEmmanuel Vadot dcan1_pins_default: dcan1-default-pins { 201f126890aSEmmanuel Vadot pinctrl-single,pins = < 202f126890aSEmmanuel Vadot DRA7XX_CORE_IOPAD(0x37d0, PIN_OUTPUT_PULLUP | MUX_MODE0) /* dcan1_tx */ 203f126890aSEmmanuel Vadot DRA7XX_CORE_IOPAD(0x3818, PULL_UP | MUX_MODE1) /* wakeup0.dcan1_rx */ 204f126890aSEmmanuel Vadot >; 205f126890aSEmmanuel Vadot }; 206f126890aSEmmanuel Vadot 207f126890aSEmmanuel Vadot dcan1_pins_sleep: dcan1-sleep-pins { 208f126890aSEmmanuel Vadot pinctrl-single,pins = < 209f126890aSEmmanuel Vadot DRA7XX_CORE_IOPAD(0x37d0, MUX_MODE15 | PULL_UP) /* dcan1_tx.off */ 210f126890aSEmmanuel Vadot DRA7XX_CORE_IOPAD(0x3818, MUX_MODE15 | PULL_UP) /* wakeup0.off */ 211f126890aSEmmanuel Vadot >; 212f126890aSEmmanuel Vadot }; 213f126890aSEmmanuel Vadot}; 214f126890aSEmmanuel Vadot 215f126890aSEmmanuel Vadot&i2c1 { 216f126890aSEmmanuel Vadot status = "okay"; 217f126890aSEmmanuel Vadot clock-frequency = <400000>; 218f126890aSEmmanuel Vadot 219f126890aSEmmanuel Vadot pcf_lcd: gpio@20 { 220f126890aSEmmanuel Vadot compatible = "nxp,pcf8575"; 221f126890aSEmmanuel Vadot reg = <0x20>; 222f126890aSEmmanuel Vadot gpio-controller; 223f126890aSEmmanuel Vadot #gpio-cells = <2>; 224f126890aSEmmanuel Vadot interrupt-controller; 225f126890aSEmmanuel Vadot #interrupt-cells = <2>; 226f126890aSEmmanuel Vadot }; 227f126890aSEmmanuel Vadot 228f126890aSEmmanuel Vadot pcf_gpio_21: gpio@21 { 229f126890aSEmmanuel Vadot compatible = "nxp,pcf8575"; 230f126890aSEmmanuel Vadot reg = <0x21>; 231f126890aSEmmanuel Vadot lines-initial-states = <0x1408>; 232f126890aSEmmanuel Vadot gpio-controller; 233f126890aSEmmanuel Vadot #gpio-cells = <2>; 234f126890aSEmmanuel Vadot interrupt-controller; 235f126890aSEmmanuel Vadot #interrupt-cells = <2>; 236f126890aSEmmanuel Vadot }; 237f126890aSEmmanuel Vadot 238f126890aSEmmanuel Vadot tlv320aic3106: tlv320aic3106@19 { 239f126890aSEmmanuel Vadot #sound-dai-cells = <0>; 240f126890aSEmmanuel Vadot compatible = "ti,tlv320aic3106"; 241f126890aSEmmanuel Vadot reg = <0x19>; 242f126890aSEmmanuel Vadot adc-settle-ms = <40>; 243f126890aSEmmanuel Vadot ai3x-micbias-vg = <1>; /* 2.0V */ 244f126890aSEmmanuel Vadot status = "okay"; 245f126890aSEmmanuel Vadot 246f126890aSEmmanuel Vadot /* Regulators */ 247f126890aSEmmanuel Vadot AVDD-supply = <&evm_3v3_sw>; 248f126890aSEmmanuel Vadot IOVDD-supply = <&evm_3v3_sw>; 249f126890aSEmmanuel Vadot DRVDD-supply = <&evm_3v3_sw>; 250f126890aSEmmanuel Vadot DVDD-supply = <&aic_dvdd>; 251f126890aSEmmanuel Vadot }; 252f126890aSEmmanuel Vadot}; 253f126890aSEmmanuel Vadot 254f126890aSEmmanuel Vadot&i2c5 { 255f126890aSEmmanuel Vadot status = "okay"; 256f126890aSEmmanuel Vadot clock-frequency = <400000>; 257f126890aSEmmanuel Vadot 258f126890aSEmmanuel Vadot pcf_hdmi: pcf8575@26 { 259f126890aSEmmanuel Vadot compatible = "nxp,pcf8575"; 260f126890aSEmmanuel Vadot reg = <0x26>; 261f126890aSEmmanuel Vadot gpio-controller; 262f126890aSEmmanuel Vadot #gpio-cells = <2>; 263f126890aSEmmanuel Vadot /* 264f126890aSEmmanuel Vadot * initial state is used here to keep the mdio interface 265f126890aSEmmanuel Vadot * selected on RU89 through SEL_VIN4_MUX_S0, VIN2_S1 and 266f126890aSEmmanuel Vadot * VIN2_S0 driven high otherwise Ethernet stops working 267f126890aSEmmanuel Vadot * VIN6_SEL_S0 is low, thus selecting McASP3 over VIN6 268f126890aSEmmanuel Vadot */ 269f126890aSEmmanuel Vadot lines-initial-states = <0x0f2b>; 270f126890aSEmmanuel Vadot 271f126890aSEmmanuel Vadot hdmi-audio-hog { 272f126890aSEmmanuel Vadot /* vin6_sel_s0: high: VIN6, low: audio */ 273f126890aSEmmanuel Vadot gpio-hog; 274f126890aSEmmanuel Vadot gpios = <1 GPIO_ACTIVE_HIGH>; 275f126890aSEmmanuel Vadot output-low; 276f126890aSEmmanuel Vadot line-name = "vin6_sel_s0"; 277f126890aSEmmanuel Vadot }; 278f126890aSEmmanuel Vadot }; 279f126890aSEmmanuel Vadot 280f126890aSEmmanuel Vadot ov5640@3c { 281f126890aSEmmanuel Vadot compatible = "ovti,ov5640"; 282f126890aSEmmanuel Vadot reg = <0x3c>; 283f126890aSEmmanuel Vadot 284f126890aSEmmanuel Vadot clocks = <&clk_ov5640_fixed>; 285f126890aSEmmanuel Vadot clock-names = "xclk"; 286f126890aSEmmanuel Vadot 287f126890aSEmmanuel Vadot port { 288f126890aSEmmanuel Vadot csi2_cam0: endpoint { 289f126890aSEmmanuel Vadot remote-endpoint = <&csi2_phy0>; 290f126890aSEmmanuel Vadot clock-lanes = <0>; 291f126890aSEmmanuel Vadot data-lanes = <1 2>; 292f126890aSEmmanuel Vadot }; 293f126890aSEmmanuel Vadot }; 294f126890aSEmmanuel Vadot }; 295f126890aSEmmanuel Vadot 296f126890aSEmmanuel Vadot}; 297f126890aSEmmanuel Vadot 298f126890aSEmmanuel Vadot&uart1 { 299f126890aSEmmanuel Vadot status = "okay"; 300f126890aSEmmanuel Vadot interrupts-extended = <&crossbar_mpu GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>, 301f126890aSEmmanuel Vadot <&dra7_pmx_core 0x3e0>; 302f126890aSEmmanuel Vadot}; 303f126890aSEmmanuel Vadot 304f126890aSEmmanuel Vadot&elm { 305f126890aSEmmanuel Vadot status = "okay"; 306f126890aSEmmanuel Vadot}; 307f126890aSEmmanuel Vadot 308f126890aSEmmanuel Vadot&gpmc { 309f126890aSEmmanuel Vadot /* 310f126890aSEmmanuel Vadot * For the existing IOdelay configuration via U-Boot we don't 311f126890aSEmmanuel Vadot * support NAND on dra72-evm. Keep it disabled. Enabling it 312f126890aSEmmanuel Vadot * requires a different configuration by U-Boot. 313f126890aSEmmanuel Vadot */ 314f126890aSEmmanuel Vadot status = "disabled"; 315f126890aSEmmanuel Vadot ranges = <0 0 0x08000000 0x01000000>; /* minimum GPMC partition = 16MB */ 316f126890aSEmmanuel Vadot nand@0,0 { 317f126890aSEmmanuel Vadot /* To use NAND, DIP switch SW5 must be set like so: 318f126890aSEmmanuel Vadot * SW5.1 (NAND_SELn) = ON (LOW) 319f126890aSEmmanuel Vadot * SW5.9 (GPMC_WPN) = OFF (HIGH) 320f126890aSEmmanuel Vadot */ 321f126890aSEmmanuel Vadot compatible = "ti,omap2-nand"; 322f126890aSEmmanuel Vadot reg = <0 0 4>; /* device IO registers */ 323f126890aSEmmanuel Vadot interrupt-parent = <&gpmc>; 324f126890aSEmmanuel Vadot interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ 325f126890aSEmmanuel Vadot <1 IRQ_TYPE_NONE>; /* termcount */ 326f126890aSEmmanuel Vadot rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /* gpmc_wait0 pin */ 327f126890aSEmmanuel Vadot ti,nand-xfer-type = "prefetch-dma"; 328f126890aSEmmanuel Vadot ti,nand-ecc-opt = "bch8"; 329f126890aSEmmanuel Vadot ti,elm-id = <&elm>; 330f126890aSEmmanuel Vadot nand-bus-width = <16>; 331f126890aSEmmanuel Vadot gpmc,device-width = <2>; 332f126890aSEmmanuel Vadot gpmc,sync-clk-ps = <0>; 333f126890aSEmmanuel Vadot gpmc,cs-on-ns = <0>; 334f126890aSEmmanuel Vadot gpmc,cs-rd-off-ns = <80>; 335f126890aSEmmanuel Vadot gpmc,cs-wr-off-ns = <80>; 336f126890aSEmmanuel Vadot gpmc,adv-on-ns = <0>; 337f126890aSEmmanuel Vadot gpmc,adv-rd-off-ns = <60>; 338f126890aSEmmanuel Vadot gpmc,adv-wr-off-ns = <60>; 339f126890aSEmmanuel Vadot gpmc,we-on-ns = <10>; 340f126890aSEmmanuel Vadot gpmc,we-off-ns = <50>; 341f126890aSEmmanuel Vadot gpmc,oe-on-ns = <4>; 342f126890aSEmmanuel Vadot gpmc,oe-off-ns = <40>; 343f126890aSEmmanuel Vadot gpmc,access-ns = <40>; 344f126890aSEmmanuel Vadot gpmc,wr-access-ns = <80>; 345f126890aSEmmanuel Vadot gpmc,rd-cycle-ns = <80>; 346f126890aSEmmanuel Vadot gpmc,wr-cycle-ns = <80>; 347f126890aSEmmanuel Vadot gpmc,bus-turnaround-ns = <0>; 348f126890aSEmmanuel Vadot gpmc,cycle2cycle-delay-ns = <0>; 349f126890aSEmmanuel Vadot gpmc,clk-activation-ns = <0>; 350f126890aSEmmanuel Vadot gpmc,wr-data-mux-bus-ns = <0>; 351f126890aSEmmanuel Vadot /* MTD partition table */ 352f126890aSEmmanuel Vadot /* All SPL-* partitions are sized to minimal length 353f126890aSEmmanuel Vadot * which can be independently programmable. For 354f126890aSEmmanuel Vadot * NAND flash this is equal to size of erase-block */ 355f126890aSEmmanuel Vadot #address-cells = <1>; 356f126890aSEmmanuel Vadot #size-cells = <1>; 357f126890aSEmmanuel Vadot partition@0 { 358f126890aSEmmanuel Vadot label = "NAND.SPL"; 359f126890aSEmmanuel Vadot reg = <0x00000000 0x00020000>; 360f126890aSEmmanuel Vadot }; 361f126890aSEmmanuel Vadot partition@1 { 362f126890aSEmmanuel Vadot label = "NAND.SPL.backup1"; 363f126890aSEmmanuel Vadot reg = <0x00020000 0x00020000>; 364f126890aSEmmanuel Vadot }; 365f126890aSEmmanuel Vadot partition@2 { 366f126890aSEmmanuel Vadot label = "NAND.SPL.backup2"; 367f126890aSEmmanuel Vadot reg = <0x00040000 0x00020000>; 368f126890aSEmmanuel Vadot }; 369f126890aSEmmanuel Vadot partition@3 { 370f126890aSEmmanuel Vadot label = "NAND.SPL.backup3"; 371f126890aSEmmanuel Vadot reg = <0x00060000 0x00020000>; 372f126890aSEmmanuel Vadot }; 373f126890aSEmmanuel Vadot partition@4 { 374f126890aSEmmanuel Vadot label = "NAND.u-boot-spl-os"; 375f126890aSEmmanuel Vadot reg = <0x00080000 0x00040000>; 376f126890aSEmmanuel Vadot }; 377f126890aSEmmanuel Vadot partition@5 { 378f126890aSEmmanuel Vadot label = "NAND.u-boot"; 379f126890aSEmmanuel Vadot reg = <0x000c0000 0x00100000>; 380f126890aSEmmanuel Vadot }; 381f126890aSEmmanuel Vadot partition@6 { 382f126890aSEmmanuel Vadot label = "NAND.u-boot-env"; 383f126890aSEmmanuel Vadot reg = <0x001c0000 0x00020000>; 384f126890aSEmmanuel Vadot }; 385f126890aSEmmanuel Vadot partition@7 { 386f126890aSEmmanuel Vadot label = "NAND.u-boot-env.backup1"; 387f126890aSEmmanuel Vadot reg = <0x001e0000 0x00020000>; 388f126890aSEmmanuel Vadot }; 389f126890aSEmmanuel Vadot partition@8 { 390f126890aSEmmanuel Vadot label = "NAND.kernel"; 391f126890aSEmmanuel Vadot reg = <0x00200000 0x00800000>; 392f126890aSEmmanuel Vadot }; 393f126890aSEmmanuel Vadot partition@9 { 394f126890aSEmmanuel Vadot label = "NAND.file-system"; 395f126890aSEmmanuel Vadot reg = <0x00a00000 0x0f600000>; 396f126890aSEmmanuel Vadot }; 397f126890aSEmmanuel Vadot }; 398f126890aSEmmanuel Vadot}; 399f126890aSEmmanuel Vadot 400f126890aSEmmanuel Vadot&omap_dwc3_1 { 401f126890aSEmmanuel Vadot extcon = <&extcon_usb1>; 402f126890aSEmmanuel Vadot}; 403f126890aSEmmanuel Vadot 404f126890aSEmmanuel Vadot&omap_dwc3_2 { 405f126890aSEmmanuel Vadot extcon = <&extcon_usb2>; 406f126890aSEmmanuel Vadot}; 407f126890aSEmmanuel Vadot 408f126890aSEmmanuel Vadot&usb1 { 409f126890aSEmmanuel Vadot dr_mode = "otg"; 410f126890aSEmmanuel Vadot extcon = <&extcon_usb1>; 411f126890aSEmmanuel Vadot}; 412f126890aSEmmanuel Vadot 413f126890aSEmmanuel Vadot&usb2 { 414f126890aSEmmanuel Vadot dr_mode = "host"; 415f126890aSEmmanuel Vadot extcon = <&extcon_usb2>; 416f126890aSEmmanuel Vadot}; 417f126890aSEmmanuel Vadot 418f126890aSEmmanuel Vadot&mmc1 { 419f126890aSEmmanuel Vadot status = "okay"; 420f126890aSEmmanuel Vadot pinctrl-names = "default"; 421f126890aSEmmanuel Vadot pinctrl-0 = <&mmc1_pins_default>; 422f126890aSEmmanuel Vadot vmmc-supply = <&evm_3v3_sd>; 423f126890aSEmmanuel Vadot bus-width = <4>; 424f126890aSEmmanuel Vadot /* 425f126890aSEmmanuel Vadot * SDCD signal is not being used here - using the fact that GPIO mode 426f126890aSEmmanuel Vadot * is a viable alternative 427f126890aSEmmanuel Vadot */ 428f126890aSEmmanuel Vadot cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; 429f126890aSEmmanuel Vadot max-frequency = <192000000>; 430f126890aSEmmanuel Vadot}; 431f126890aSEmmanuel Vadot 432f126890aSEmmanuel Vadot&mmc2 { 433f126890aSEmmanuel Vadot /* SW5-3 in ON position */ 434f126890aSEmmanuel Vadot status = "okay"; 435f126890aSEmmanuel Vadot pinctrl-names = "default"; 436f126890aSEmmanuel Vadot pinctrl-0 = <&mmc2_pins_default>; 437f126890aSEmmanuel Vadot bus-width = <8>; 438f126890aSEmmanuel Vadot non-removable; 439f126890aSEmmanuel Vadot max-frequency = <192000000>; 440f126890aSEmmanuel Vadot}; 441f126890aSEmmanuel Vadot 442f126890aSEmmanuel Vadot&mmc4 { 443f126890aSEmmanuel Vadot status = "okay"; 444f126890aSEmmanuel Vadot vmmc-supply = <&evm_3v6>; 445f126890aSEmmanuel Vadot vqmmc-supply = <&vmmcwl_fixed>; 446f126890aSEmmanuel Vadot bus-width = <4>; 447f126890aSEmmanuel Vadot cap-power-off-card; 448f126890aSEmmanuel Vadot keep-power-in-suspend; 449f126890aSEmmanuel Vadot non-removable; 450f126890aSEmmanuel Vadot pinctrl-names = "default", "hs", "sdr12", "sdr25"; 451f126890aSEmmanuel Vadot pinctrl-0 = <&mmc4_pins_default>; 452f126890aSEmmanuel Vadot pinctrl-1 = <&mmc4_pins_default>; 453f126890aSEmmanuel Vadot pinctrl-2 = <&mmc4_pins_default>; 454f126890aSEmmanuel Vadot pinctrl-3 = <&mmc4_pins_default>; 455f126890aSEmmanuel Vadot #address-cells = <1>; 456f126890aSEmmanuel Vadot #size-cells = <0>; 457f126890aSEmmanuel Vadot wifi@2 { 458f126890aSEmmanuel Vadot compatible = "ti,wl1835"; 459f126890aSEmmanuel Vadot reg = <2>; 460f126890aSEmmanuel Vadot interrupt-parent = <&gpio5>; 461f126890aSEmmanuel Vadot interrupts = <7 IRQ_TYPE_EDGE_RISING>; 462f126890aSEmmanuel Vadot }; 463f126890aSEmmanuel Vadot}; 464f126890aSEmmanuel Vadot 465f126890aSEmmanuel Vadot&dcan1 { 466f126890aSEmmanuel Vadot status = "okay"; 467f126890aSEmmanuel Vadot pinctrl-names = "default", "sleep", "active"; 468f126890aSEmmanuel Vadot pinctrl-0 = <&dcan1_pins_sleep>; 469f126890aSEmmanuel Vadot pinctrl-1 = <&dcan1_pins_sleep>; 470f126890aSEmmanuel Vadot pinctrl-2 = <&dcan1_pins_default>; 471f126890aSEmmanuel Vadot}; 472f126890aSEmmanuel Vadot 473f126890aSEmmanuel Vadot&qspi { 474f126890aSEmmanuel Vadot status = "okay"; 475f126890aSEmmanuel Vadot 476f126890aSEmmanuel Vadot spi-max-frequency = <76800000>; 477f126890aSEmmanuel Vadot flash@0 { 478f126890aSEmmanuel Vadot compatible = "s25fl256s1"; 479f126890aSEmmanuel Vadot spi-max-frequency = <76800000>; 480f126890aSEmmanuel Vadot reg = <0>; 481f126890aSEmmanuel Vadot spi-tx-bus-width = <1>; 482f126890aSEmmanuel Vadot spi-rx-bus-width = <4>; 483f126890aSEmmanuel Vadot #address-cells = <1>; 484f126890aSEmmanuel Vadot #size-cells = <1>; 485f126890aSEmmanuel Vadot 486f126890aSEmmanuel Vadot /* MTD partition table. 487f126890aSEmmanuel Vadot * The ROM checks the first four physical blocks 488f126890aSEmmanuel Vadot * for a valid file to boot and the flash here is 489f126890aSEmmanuel Vadot * 64KiB block size. 490f126890aSEmmanuel Vadot */ 491f126890aSEmmanuel Vadot partition@0 { 492f126890aSEmmanuel Vadot label = "QSPI.SPL"; 493f126890aSEmmanuel Vadot reg = <0x00000000 0x00010000>; 494f126890aSEmmanuel Vadot }; 495f126890aSEmmanuel Vadot partition@1 { 496f126890aSEmmanuel Vadot label = "QSPI.SPL.backup1"; 497f126890aSEmmanuel Vadot reg = <0x00010000 0x00010000>; 498f126890aSEmmanuel Vadot }; 499f126890aSEmmanuel Vadot partition@2 { 500f126890aSEmmanuel Vadot label = "QSPI.SPL.backup2"; 501f126890aSEmmanuel Vadot reg = <0x00020000 0x00010000>; 502f126890aSEmmanuel Vadot }; 503f126890aSEmmanuel Vadot partition@3 { 504f126890aSEmmanuel Vadot label = "QSPI.SPL.backup3"; 505f126890aSEmmanuel Vadot reg = <0x00030000 0x00010000>; 506f126890aSEmmanuel Vadot }; 507f126890aSEmmanuel Vadot partition@4 { 508f126890aSEmmanuel Vadot label = "QSPI.u-boot"; 509f126890aSEmmanuel Vadot reg = <0x00040000 0x00100000>; 510f126890aSEmmanuel Vadot }; 511f126890aSEmmanuel Vadot partition@5 { 512f126890aSEmmanuel Vadot label = "QSPI.u-boot-spl-os"; 513f126890aSEmmanuel Vadot reg = <0x00140000 0x00080000>; 514f126890aSEmmanuel Vadot }; 515f126890aSEmmanuel Vadot partition@6 { 516f126890aSEmmanuel Vadot label = "QSPI.u-boot-env"; 517f126890aSEmmanuel Vadot reg = <0x001c0000 0x00010000>; 518f126890aSEmmanuel Vadot }; 519f126890aSEmmanuel Vadot partition@7 { 520f126890aSEmmanuel Vadot label = "QSPI.u-boot-env.backup1"; 521f126890aSEmmanuel Vadot reg = <0x001d0000 0x0010000>; 522f126890aSEmmanuel Vadot }; 523f126890aSEmmanuel Vadot partition@8 { 524f126890aSEmmanuel Vadot label = "QSPI.kernel"; 525f126890aSEmmanuel Vadot reg = <0x001e0000 0x0800000>; 526f126890aSEmmanuel Vadot }; 527f126890aSEmmanuel Vadot partition@9 { 528f126890aSEmmanuel Vadot label = "QSPI.file-system"; 529f126890aSEmmanuel Vadot reg = <0x009e0000 0x01620000>; 530f126890aSEmmanuel Vadot }; 531f126890aSEmmanuel Vadot }; 532f126890aSEmmanuel Vadot}; 533f126890aSEmmanuel Vadot 534f126890aSEmmanuel Vadot&dss { 535f126890aSEmmanuel Vadot status = "okay"; 536f126890aSEmmanuel Vadot}; 537f126890aSEmmanuel Vadot 538f126890aSEmmanuel Vadot&hdmi { 539f126890aSEmmanuel Vadot status = "okay"; 540f126890aSEmmanuel Vadot 541f126890aSEmmanuel Vadot port { 542f126890aSEmmanuel Vadot hdmi_out: endpoint { 543f126890aSEmmanuel Vadot remote-endpoint = <&tpd12s015_in>; 544f126890aSEmmanuel Vadot }; 545f126890aSEmmanuel Vadot }; 546f126890aSEmmanuel Vadot}; 547f126890aSEmmanuel Vadot 548f126890aSEmmanuel Vadot&atl { 549f126890aSEmmanuel Vadot assigned-clocks = <&abe_dpll_sys_clk_mux>, 550f126890aSEmmanuel Vadot <&atl_clkctrl DRA7_ATL_ATL_CLKCTRL 26>, 551f126890aSEmmanuel Vadot <&dpll_abe_ck>, 552f126890aSEmmanuel Vadot <&dpll_abe_m2x2_ck>, 553f126890aSEmmanuel Vadot <&atl_clkin2_ck>; 554f126890aSEmmanuel Vadot assigned-clock-parents = <&sys_clkin2>, <&dpll_abe_m2_ck>; 555f126890aSEmmanuel Vadot assigned-clock-rates = <0>, <0>, <180633600>, <361267200>, <5644800>; 556f126890aSEmmanuel Vadot 557f126890aSEmmanuel Vadot status = "okay"; 558f126890aSEmmanuel Vadot 559f126890aSEmmanuel Vadot atl2 { 560f126890aSEmmanuel Vadot bws = <DRA7_ATL_WS_MCASP2_FSX>; 561f126890aSEmmanuel Vadot aws = <DRA7_ATL_WS_MCASP3_FSX>; 562f126890aSEmmanuel Vadot }; 563f126890aSEmmanuel Vadot}; 564f126890aSEmmanuel Vadot 565f126890aSEmmanuel Vadot&mcasp3 { 566f126890aSEmmanuel Vadot #sound-dai-cells = <0>; 567f126890aSEmmanuel Vadot 568f126890aSEmmanuel Vadot assigned-clocks = <&l4per2_clkctrl DRA7_L4PER2_MCASP3_CLKCTRL 24>; 569f126890aSEmmanuel Vadot assigned-clock-parents = <&atl_clkin2_ck>; 570f126890aSEmmanuel Vadot 571f126890aSEmmanuel Vadot status = "okay"; 572f126890aSEmmanuel Vadot 573f126890aSEmmanuel Vadot op-mode = <0>; /* MCASP_IIS_MODE */ 574f126890aSEmmanuel Vadot tdm-slots = <2>; 575f126890aSEmmanuel Vadot /* 4 serializer */ 576f126890aSEmmanuel Vadot serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 577f126890aSEmmanuel Vadot 1 2 0 0 578f126890aSEmmanuel Vadot >; 579f126890aSEmmanuel Vadot tx-num-evt = <32>; 580f126890aSEmmanuel Vadot rx-num-evt = <32>; 581f126890aSEmmanuel Vadot}; 582f126890aSEmmanuel Vadot 583f126890aSEmmanuel Vadot&pcie1_rc { 584f126890aSEmmanuel Vadot status = "okay"; 585f126890aSEmmanuel Vadot}; 586f126890aSEmmanuel Vadot 587f126890aSEmmanuel Vadot&csi2_0 { 588f126890aSEmmanuel Vadot csi2_phy0: endpoint { 589f126890aSEmmanuel Vadot remote-endpoint = <&csi2_cam0>; 590f126890aSEmmanuel Vadot clock-lanes = <0>; 591f126890aSEmmanuel Vadot data-lanes = <1 2>; 592f126890aSEmmanuel Vadot }; 593f126890aSEmmanuel Vadot}; 594