1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-only 2*f126890aSEmmanuel Vadot/dts-v1/; 3*f126890aSEmmanuel Vadot 4*f126890aSEmmanuel Vadot#include "dra62x.dtsi" 5*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h> 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadot/ { 8*f126890aSEmmanuel Vadot model = "DRA62x J5 Eco EVM"; 9*f126890aSEmmanuel Vadot compatible = "ti,dra62x-j5eco-evm", "ti,dra62x", "ti,dm8148", "ti,dm814"; 10*f126890aSEmmanuel Vadot 11*f126890aSEmmanuel Vadot memory@80000000 { 12*f126890aSEmmanuel Vadot device_type = "memory"; 13*f126890aSEmmanuel Vadot reg = <0x80000000 0x40000000>; /* 1 GB */ 14*f126890aSEmmanuel Vadot }; 15*f126890aSEmmanuel Vadot 16*f126890aSEmmanuel Vadot /* MIC94060YC6 controlled by SD1_POW pin */ 17*f126890aSEmmanuel Vadot vmmcsd_fixed: fixedregulator0 { 18*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 19*f126890aSEmmanuel Vadot regulator-name = "vmmcsd_fixed"; 20*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 21*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 22*f126890aSEmmanuel Vadot }; 23*f126890aSEmmanuel Vadot}; 24*f126890aSEmmanuel Vadot 25*f126890aSEmmanuel Vadot&cpsw_emac0 { 26*f126890aSEmmanuel Vadot phy-handle = <ðphy0>; 27*f126890aSEmmanuel Vadot phy-mode = "rgmii-id"; 28*f126890aSEmmanuel Vadot}; 29*f126890aSEmmanuel Vadot 30*f126890aSEmmanuel Vadot&cpsw_emac1 { 31*f126890aSEmmanuel Vadot phy-handle = <ðphy1>; 32*f126890aSEmmanuel Vadot phy-mode = "rgmii-id"; 33*f126890aSEmmanuel Vadot}; 34*f126890aSEmmanuel Vadot 35*f126890aSEmmanuel Vadot&davinci_mdio { 36*f126890aSEmmanuel Vadot ethphy0: ethernet-phy@0 { 37*f126890aSEmmanuel Vadot reg = <0>; 38*f126890aSEmmanuel Vadot }; 39*f126890aSEmmanuel Vadot 40*f126890aSEmmanuel Vadot ethphy1: ethernet-phy@1 { 41*f126890aSEmmanuel Vadot reg = <1>; 42*f126890aSEmmanuel Vadot }; 43*f126890aSEmmanuel Vadot}; 44*f126890aSEmmanuel Vadot 45*f126890aSEmmanuel Vadot&gpmc { 46*f126890aSEmmanuel Vadot ranges = <0 0 0x04000000 0x01000000>; /* CS0: 16MB for NAND */ 47*f126890aSEmmanuel Vadot 48*f126890aSEmmanuel Vadot nand@0,0 { 49*f126890aSEmmanuel Vadot compatible = "ti,omap2-nand"; 50*f126890aSEmmanuel Vadot reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 51*f126890aSEmmanuel Vadot interrupt-parent = <&gpmc>; 52*f126890aSEmmanuel Vadot interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ 53*f126890aSEmmanuel Vadot <1 IRQ_TYPE_NONE>; /* termcount */ 54*f126890aSEmmanuel Vadot linux,mtd-name = "micron,mt29f2g16aadwp"; 55*f126890aSEmmanuel Vadot #address-cells = <1>; 56*f126890aSEmmanuel Vadot #size-cells = <1>; 57*f126890aSEmmanuel Vadot ti,nand-ecc-opt = "bch8"; 58*f126890aSEmmanuel Vadot nand-bus-width = <16>; 59*f126890aSEmmanuel Vadot gpmc,device-width = <2>; 60*f126890aSEmmanuel Vadot gpmc,sync-clk-ps = <0>; 61*f126890aSEmmanuel Vadot gpmc,cs-on-ns = <0>; 62*f126890aSEmmanuel Vadot gpmc,cs-rd-off-ns = <44>; 63*f126890aSEmmanuel Vadot gpmc,cs-wr-off-ns = <44>; 64*f126890aSEmmanuel Vadot gpmc,adv-on-ns = <6>; 65*f126890aSEmmanuel Vadot gpmc,adv-rd-off-ns = <34>; 66*f126890aSEmmanuel Vadot gpmc,adv-wr-off-ns = <44>; 67*f126890aSEmmanuel Vadot gpmc,we-on-ns = <0>; 68*f126890aSEmmanuel Vadot gpmc,we-off-ns = <40>; 69*f126890aSEmmanuel Vadot gpmc,oe-on-ns = <0>; 70*f126890aSEmmanuel Vadot gpmc,oe-off-ns = <54>; 71*f126890aSEmmanuel Vadot gpmc,access-ns = <64>; 72*f126890aSEmmanuel Vadot gpmc,rd-cycle-ns = <82>; 73*f126890aSEmmanuel Vadot gpmc,wr-cycle-ns = <82>; 74*f126890aSEmmanuel Vadot gpmc,bus-turnaround-ns = <0>; 75*f126890aSEmmanuel Vadot gpmc,cycle2cycle-delay-ns = <0>; 76*f126890aSEmmanuel Vadot gpmc,clk-activation-ns = <0>; 77*f126890aSEmmanuel Vadot gpmc,wr-access-ns = <40>; 78*f126890aSEmmanuel Vadot gpmc,wr-data-mux-bus-ns = <0>; 79*f126890aSEmmanuel Vadot partition@0 { 80*f126890aSEmmanuel Vadot label = "X-Loader"; 81*f126890aSEmmanuel Vadot reg = <0 0x80000>; 82*f126890aSEmmanuel Vadot }; 83*f126890aSEmmanuel Vadot partition@80000 { 84*f126890aSEmmanuel Vadot label = "U-Boot"; 85*f126890aSEmmanuel Vadot reg = <0x80000 0x1c0000>; 86*f126890aSEmmanuel Vadot }; 87*f126890aSEmmanuel Vadot partition@1c0000 { 88*f126890aSEmmanuel Vadot label = "Environment"; 89*f126890aSEmmanuel Vadot reg = <0x240000 0x40000>; 90*f126890aSEmmanuel Vadot }; 91*f126890aSEmmanuel Vadot partition@280000 { 92*f126890aSEmmanuel Vadot label = "Kernel"; 93*f126890aSEmmanuel Vadot reg = <0x280000 0x500000>; 94*f126890aSEmmanuel Vadot }; 95*f126890aSEmmanuel Vadot partition@780000 { 96*f126890aSEmmanuel Vadot label = "Filesystem"; 97*f126890aSEmmanuel Vadot reg = <0x780000 0xf880000>; 98*f126890aSEmmanuel Vadot }; 99*f126890aSEmmanuel Vadot }; 100*f126890aSEmmanuel Vadot}; 101*f126890aSEmmanuel Vadot 102*f126890aSEmmanuel Vadot&mmc2 { 103*f126890aSEmmanuel Vadot pinctrl-names = "default"; 104*f126890aSEmmanuel Vadot pinctrl-0 = <&sd1_pins>; 105*f126890aSEmmanuel Vadot vmmc-supply = <&vmmcsd_fixed>; 106*f126890aSEmmanuel Vadot bus-width = <4>; 107*f126890aSEmmanuel Vadot cd-gpios = <&gpio2 6 GPIO_ACTIVE_LOW>; 108*f126890aSEmmanuel Vadot}; 109*f126890aSEmmanuel Vadot 110*f126890aSEmmanuel Vadot&pincntl { 111*f126890aSEmmanuel Vadot sd1_pins: sd1-pins { 112*f126890aSEmmanuel Vadot pinctrl-single,pins = < 113*f126890aSEmmanuel Vadot DM814X_IOPAD(0x0800, PIN_INPUT | 0x1) /* SD1_CLK */ 114*f126890aSEmmanuel Vadot DM814X_IOPAD(0x0804, PIN_INPUT_PULLUP | 0x1) /* SD1_CMD */ 115*f126890aSEmmanuel Vadot DM814X_IOPAD(0x0808, PIN_INPUT_PULLUP | 0x1) /* SD1_DAT[0] */ 116*f126890aSEmmanuel Vadot DM814X_IOPAD(0x080c, PIN_INPUT_PULLUP | 0x1) /* SD1_DAT[1] */ 117*f126890aSEmmanuel Vadot DM814X_IOPAD(0x0810, PIN_INPUT_PULLUP | 0x1) /* SD1_DAT[2] */ 118*f126890aSEmmanuel Vadot DM814X_IOPAD(0x0814, PIN_INPUT_PULLUP | 0x1) /* SD1_DAT[3] */ 119*f126890aSEmmanuel Vadot DM814X_IOPAD(0x0924, PIN_OUTPUT | 0x40) /* SD1_POW */ 120*f126890aSEmmanuel Vadot DM814X_IOPAD(0x093C, PIN_INPUT_PULLUP | 0x80) /* GP1[6] */ 121*f126890aSEmmanuel Vadot >; 122*f126890aSEmmanuel Vadot }; 123*f126890aSEmmanuel Vadot 124*f126890aSEmmanuel Vadot usb0_pins: usb0-pins { 125*f126890aSEmmanuel Vadot pinctrl-single,pins = < 126*f126890aSEmmanuel Vadot DM814X_IOPAD(0x0c34, PIN_OUTPUT | 0x1) /* USB0_DRVVBUS */ 127*f126890aSEmmanuel Vadot >; 128*f126890aSEmmanuel Vadot }; 129*f126890aSEmmanuel Vadot}; 130*f126890aSEmmanuel Vadot 131*f126890aSEmmanuel Vadot/* USB0_ID pin state: SW10[1] = 0 cable detection, SW10[1] = 1 ID grounded */ 132*f126890aSEmmanuel Vadot&usb0 { 133*f126890aSEmmanuel Vadot pinctrl-names = "default"; 134*f126890aSEmmanuel Vadot pinctrl-0 = <&usb0_pins>; 135*f126890aSEmmanuel Vadot dr_mode = "otg"; 136*f126890aSEmmanuel Vadot}; 137*f126890aSEmmanuel Vadot 138*f126890aSEmmanuel Vadot&usb1_phy { 139*f126890aSEmmanuel Vadot status = "disabled"; 140*f126890aSEmmanuel Vadot}; 141*f126890aSEmmanuel Vadot 142*f126890aSEmmanuel Vadot&usb1 { 143*f126890aSEmmanuel Vadot status = "disabled"; 144*f126890aSEmmanuel Vadot}; 145