Back to home page

OSCL-LXR

 
 

    


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