1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Keystone 2 Edison EVM device tree 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright (C) 2013-2017 Texas Instruments Incorporated - http://www.ti.com/ 6*724ba675SRob Herring */ 7*724ba675SRob Herring/dts-v1/; 8*724ba675SRob Herring 9*724ba675SRob Herring#include "keystone.dtsi" 10*724ba675SRob Herring#include "keystone-k2e.dtsi" 11*724ba675SRob Herring 12*724ba675SRob Herring/ { 13*724ba675SRob Herring compatible = "ti,k2e-evm", "ti,k2e", "ti,keystone"; 14*724ba675SRob Herring model = "Texas Instruments Keystone 2 Edison EVM"; 15*724ba675SRob Herring 16*724ba675SRob Herring reserved-memory { 17*724ba675SRob Herring #address-cells = <2>; 18*724ba675SRob Herring #size-cells = <2>; 19*724ba675SRob Herring ranges; 20*724ba675SRob Herring 21*724ba675SRob Herring dsp_common_memory: dsp-common-memory@81f800000 { 22*724ba675SRob Herring compatible = "shared-dma-pool"; 23*724ba675SRob Herring reg = <0x00000008 0x1f800000 0x00000000 0x800000>; 24*724ba675SRob Herring reusable; 25*724ba675SRob Herring status = "okay"; 26*724ba675SRob Herring }; 27*724ba675SRob Herring }; 28*724ba675SRob Herring}; 29*724ba675SRob Herring 30*724ba675SRob Herring&soc0 { 31*724ba675SRob Herring 32*724ba675SRob Herring clocks { 33*724ba675SRob Herring refclksys: refclksys { 34*724ba675SRob Herring #clock-cells = <0>; 35*724ba675SRob Herring compatible = "fixed-clock"; 36*724ba675SRob Herring clock-frequency = <100000000>; 37*724ba675SRob Herring clock-output-names = "refclk-sys"; 38*724ba675SRob Herring }; 39*724ba675SRob Herring 40*724ba675SRob Herring refclkpass: refclkpass { 41*724ba675SRob Herring #clock-cells = <0>; 42*724ba675SRob Herring compatible = "fixed-clock"; 43*724ba675SRob Herring clock-frequency = <100000000>; 44*724ba675SRob Herring clock-output-names = "refclk-pass"; 45*724ba675SRob Herring }; 46*724ba675SRob Herring 47*724ba675SRob Herring refclkddr3a: refclkddr3a { 48*724ba675SRob Herring #clock-cells = <0>; 49*724ba675SRob Herring compatible = "fixed-clock"; 50*724ba675SRob Herring clock-frequency = <100000000>; 51*724ba675SRob Herring clock-output-names = "refclk-ddr3a"; 52*724ba675SRob Herring }; 53*724ba675SRob Herring }; 54*724ba675SRob Herring}; 55*724ba675SRob Herring 56*724ba675SRob Herring&usb_phy { 57*724ba675SRob Herring status = "okay"; 58*724ba675SRob Herring}; 59*724ba675SRob Herring 60*724ba675SRob Herring&keystone_usb0 { 61*724ba675SRob Herring status = "okay"; 62*724ba675SRob Herring}; 63*724ba675SRob Herring 64*724ba675SRob Herring&usb0 { 65*724ba675SRob Herring dr_mode = "host"; 66*724ba675SRob Herring}; 67*724ba675SRob Herring 68*724ba675SRob Herring&usb1_phy { 69*724ba675SRob Herring status = "okay"; 70*724ba675SRob Herring}; 71*724ba675SRob Herring 72*724ba675SRob Herring&keystone_usb1 { 73*724ba675SRob Herring status = "okay"; 74*724ba675SRob Herring}; 75*724ba675SRob Herring 76*724ba675SRob Herring&usb1 { 77*724ba675SRob Herring dr_mode = "peripheral"; 78*724ba675SRob Herring}; 79*724ba675SRob Herring 80*724ba675SRob Herring&i2c0 { 81*724ba675SRob Herring eeprom@50 { 82*724ba675SRob Herring compatible = "atmel,24c1024"; 83*724ba675SRob Herring reg = <0x50>; 84*724ba675SRob Herring }; 85*724ba675SRob Herring}; 86*724ba675SRob Herring 87*724ba675SRob Herring&aemif { 88*724ba675SRob Herring cs0 { 89*724ba675SRob Herring #address-cells = <2>; 90*724ba675SRob Herring #size-cells = <1>; 91*724ba675SRob Herring clock-ranges; 92*724ba675SRob Herring ranges; 93*724ba675SRob Herring 94*724ba675SRob Herring ti,cs-chipselect = <0>; 95*724ba675SRob Herring /* all timings in nanoseconds */ 96*724ba675SRob Herring ti,cs-min-turnaround-ns = <12>; 97*724ba675SRob Herring ti,cs-read-hold-ns = <6>; 98*724ba675SRob Herring ti,cs-read-strobe-ns = <23>; 99*724ba675SRob Herring ti,cs-read-setup-ns = <9>; 100*724ba675SRob Herring ti,cs-write-hold-ns = <8>; 101*724ba675SRob Herring ti,cs-write-strobe-ns = <23>; 102*724ba675SRob Herring ti,cs-write-setup-ns = <8>; 103*724ba675SRob Herring 104*724ba675SRob Herring nand@0,0 { 105*724ba675SRob Herring compatible = "ti,keystone-nand","ti,davinci-nand"; 106*724ba675SRob Herring #address-cells = <1>; 107*724ba675SRob Herring #size-cells = <1>; 108*724ba675SRob Herring reg = <0 0 0x4000000 109*724ba675SRob Herring 1 0 0x0000100>; 110*724ba675SRob Herring 111*724ba675SRob Herring ti,davinci-chipselect = <0>; 112*724ba675SRob Herring ti,davinci-mask-ale = <0x2000>; 113*724ba675SRob Herring ti,davinci-mask-cle = <0x4000>; 114*724ba675SRob Herring ti,davinci-mask-chipsel = <0>; 115*724ba675SRob Herring nand-ecc-mode = "hw"; 116*724ba675SRob Herring ti,davinci-ecc-bits = <4>; 117*724ba675SRob Herring nand-on-flash-bbt; 118*724ba675SRob Herring 119*724ba675SRob Herring partition@0 { 120*724ba675SRob Herring label = "u-boot"; 121*724ba675SRob Herring reg = <0x0 0x100000>; 122*724ba675SRob Herring read-only; 123*724ba675SRob Herring }; 124*724ba675SRob Herring 125*724ba675SRob Herring partition@100000 { 126*724ba675SRob Herring label = "params"; 127*724ba675SRob Herring reg = <0x100000 0x80000>; 128*724ba675SRob Herring read-only; 129*724ba675SRob Herring }; 130*724ba675SRob Herring 131*724ba675SRob Herring partition@180000 { 132*724ba675SRob Herring label = "ubifs"; 133*724ba675SRob Herring reg = <0x180000 0x1fe80000>; 134*724ba675SRob Herring }; 135*724ba675SRob Herring }; 136*724ba675SRob Herring }; 137*724ba675SRob Herring}; 138*724ba675SRob Herring 139*724ba675SRob Herring&spi0 { 140*724ba675SRob Herring nor_flash: flash@0 { 141*724ba675SRob Herring #address-cells = <1>; 142*724ba675SRob Herring #size-cells = <1>; 143*724ba675SRob Herring compatible = "micron,n25q128a11", "jedec,spi-nor"; 144*724ba675SRob Herring spi-max-frequency = <54000000>; 145*724ba675SRob Herring m25p,fast-read; 146*724ba675SRob Herring reg = <0>; 147*724ba675SRob Herring 148*724ba675SRob Herring partition@0 { 149*724ba675SRob Herring label = "u-boot-spl"; 150*724ba675SRob Herring reg = <0x0 0x80000>; 151*724ba675SRob Herring read-only; 152*724ba675SRob Herring }; 153*724ba675SRob Herring 154*724ba675SRob Herring partition@1 { 155*724ba675SRob Herring label = "misc"; 156*724ba675SRob Herring reg = <0x80000 0xf80000>; 157*724ba675SRob Herring }; 158*724ba675SRob Herring }; 159*724ba675SRob Herring}; 160*724ba675SRob Herring 161*724ba675SRob Herring&mdio { 162*724ba675SRob Herring status = "okay"; 163*724ba675SRob Herring ethphy0: ethernet-phy@0 { 164*724ba675SRob Herring compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22"; 165*724ba675SRob Herring reg = <0>; 166*724ba675SRob Herring }; 167*724ba675SRob Herring 168*724ba675SRob Herring ethphy1: ethernet-phy@1 { 169*724ba675SRob Herring compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22"; 170*724ba675SRob Herring reg = <1>; 171*724ba675SRob Herring }; 172*724ba675SRob Herring}; 173*724ba675SRob Herring 174*724ba675SRob Herring&dsp0 { 175*724ba675SRob Herring memory-region = <&dsp_common_memory>; 176*724ba675SRob Herring status = "okay"; 177*724ba675SRob Herring}; 178