0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * Keystone 2 Edison EVM device tree
0004 *
0005 * Copyright (C) 2013-2017 Texas Instruments Incorporated - http://www.ti.com/
0006 */
0007 /dts-v1/;
0008
0009 #include "keystone.dtsi"
0010 #include "keystone-k2e.dtsi"
0011
0012 / {
0013 compatible = "ti,k2e-evm", "ti,k2e", "ti,keystone";
0014 model = "Texas Instruments Keystone 2 Edison EVM";
0015
0016 reserved-memory {
0017 #address-cells = <2>;
0018 #size-cells = <2>;
0019 ranges;
0020
0021 dsp_common_memory: dsp-common-memory@81f800000 {
0022 compatible = "shared-dma-pool";
0023 reg = <0x00000008 0x1f800000 0x00000000 0x800000>;
0024 reusable;
0025 status = "okay";
0026 };
0027 };
0028 };
0029
0030 &soc0 {
0031
0032 clocks {
0033 refclksys: refclksys {
0034 #clock-cells = <0>;
0035 compatible = "fixed-clock";
0036 clock-frequency = <100000000>;
0037 clock-output-names = "refclk-sys";
0038 };
0039
0040 refclkpass: refclkpass {
0041 #clock-cells = <0>;
0042 compatible = "fixed-clock";
0043 clock-frequency = <100000000>;
0044 clock-output-names = "refclk-pass";
0045 };
0046
0047 refclkddr3a: refclkddr3a {
0048 #clock-cells = <0>;
0049 compatible = "fixed-clock";
0050 clock-frequency = <100000000>;
0051 clock-output-names = "refclk-ddr3a";
0052 };
0053 };
0054 };
0055
0056 &usb_phy {
0057 status = "okay";
0058 };
0059
0060 &keystone_usb0 {
0061 status = "okay";
0062 };
0063
0064 &usb0 {
0065 dr_mode = "host";
0066 };
0067
0068 &usb1_phy {
0069 status = "okay";
0070 };
0071
0072 &keystone_usb1 {
0073 status = "okay";
0074 };
0075
0076 &usb1 {
0077 dr_mode = "peripheral";
0078 };
0079
0080 &i2c0 {
0081 dtt@50 {
0082 compatible = "atmel,24c1024";
0083 reg = <0x50>;
0084 };
0085 };
0086
0087 &aemif {
0088 cs0 {
0089 #address-cells = <2>;
0090 #size-cells = <1>;
0091 clock-ranges;
0092 ranges;
0093
0094 ti,cs-chipselect = <0>;
0095 /* all timings in nanoseconds */
0096 ti,cs-min-turnaround-ns = <12>;
0097 ti,cs-read-hold-ns = <6>;
0098 ti,cs-read-strobe-ns = <23>;
0099 ti,cs-read-setup-ns = <9>;
0100 ti,cs-write-hold-ns = <8>;
0101 ti,cs-write-strobe-ns = <23>;
0102 ti,cs-write-setup-ns = <8>;
0103
0104 nand@0,0 {
0105 compatible = "ti,keystone-nand","ti,davinci-nand";
0106 #address-cells = <1>;
0107 #size-cells = <1>;
0108 reg = <0 0 0x4000000
0109 1 0 0x0000100>;
0110
0111 ti,davinci-chipselect = <0>;
0112 ti,davinci-mask-ale = <0x2000>;
0113 ti,davinci-mask-cle = <0x4000>;
0114 ti,davinci-mask-chipsel = <0>;
0115 nand-ecc-mode = "hw";
0116 ti,davinci-ecc-bits = <4>;
0117 nand-on-flash-bbt;
0118
0119 partition@0 {
0120 label = "u-boot";
0121 reg = <0x0 0x100000>;
0122 read-only;
0123 };
0124
0125 partition@100000 {
0126 label = "params";
0127 reg = <0x100000 0x80000>;
0128 read-only;
0129 };
0130
0131 partition@180000 {
0132 label = "ubifs";
0133 reg = <0x180000 0x1FE80000>;
0134 };
0135 };
0136 };
0137 };
0138
0139 &spi0 {
0140 nor_flash: flash@0 {
0141 #address-cells = <1>;
0142 #size-cells = <1>;
0143 compatible = "micron,n25q128a11", "jedec,spi-nor";
0144 spi-max-frequency = <54000000>;
0145 m25p,fast-read;
0146 reg = <0>;
0147
0148 partition@0 {
0149 label = "u-boot-spl";
0150 reg = <0x0 0x80000>;
0151 read-only;
0152 };
0153
0154 partition@1 {
0155 label = "misc";
0156 reg = <0x80000 0xf80000>;
0157 };
0158 };
0159 };
0160
0161 &mdio {
0162 status = "ok";
0163 ethphy0: ethernet-phy@0 {
0164 compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
0165 reg = <0>;
0166 };
0167
0168 ethphy1: ethernet-phy@1 {
0169 compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
0170 reg = <1>;
0171 };
0172 };
0173
0174 &dsp0 {
0175 memory-region = <&dsp_common_memory>;
0176 status = "okay";
0177 };