Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Keystone 2 Kepler/Hawking 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-k2hk.dtsi"
0011 
0012 / {
0013         compatible =  "ti,k2hk-evm", "ti,k2hk", "ti,keystone";
0014         model = "Texas Instruments Keystone 2 Kepler/Hawking 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         leds {
0030                 compatible = "gpio-leds";
0031                 debug1_1 {
0032                         label = "keystone:green:debug1";
0033                         gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; /* 12 */
0034                 };
0035 
0036                 debug1_2 {
0037                         label = "keystone:red:debug1";
0038                         gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>; /* 13 */
0039                 };
0040 
0041                 debug2 {
0042                         label = "keystone:blue:debug2";
0043                         gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; /* 14 */
0044                 };
0045 
0046                 debug3 {
0047                         label = "keystone:blue:debug3";
0048                         gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; /* 15 */
0049                 };
0050         };
0051 };
0052 
0053 &soc0 {
0054                 clocks {
0055                         refclksys: refclksys {
0056                                 #clock-cells = <0>;
0057                                 compatible = "fixed-clock";
0058                                 clock-frequency = <122880000>;
0059                                 clock-output-names = "refclk-sys";
0060                         };
0061 
0062                         refclkpass: refclkpass {
0063                                 #clock-cells = <0>;
0064                                 compatible = "fixed-clock";
0065                                 clock-frequency = <122880000>;
0066                                 clock-output-names = "refclk-pass";
0067                         };
0068 
0069                         refclkarm: refclkarm {
0070                                 #clock-cells = <0>;
0071                                 compatible = "fixed-clock";
0072                                 clock-frequency = <125000000>;
0073                                 clock-output-names = "refclk-arm";
0074                         };
0075 
0076                         refclkddr3a: refclkddr3a {
0077                                 #clock-cells = <0>;
0078                                 compatible = "fixed-clock";
0079                                 clock-frequency = <100000000>;
0080                                 clock-output-names = "refclk-ddr3a";
0081                         };
0082 
0083                         refclkddr3b: refclkddr3b {
0084                                 #clock-cells = <0>;
0085                                 compatible = "fixed-clock";
0086                                 clock-frequency = <100000000>;
0087                                 clock-output-names = "refclk-ddr3b";
0088                         };
0089                 };
0090 };
0091 
0092 &usb_phy {
0093         status = "okay";
0094 };
0095 
0096 &keystone_usb0 {
0097         status = "okay";
0098 };
0099 
0100 &usb0 {
0101         dr_mode = "host";
0102 };
0103 
0104 &aemif {
0105         cs0 {
0106                 #address-cells = <2>;
0107                 #size-cells = <1>;
0108                 clock-ranges;
0109                 ranges;
0110 
0111                 ti,cs-chipselect = <0>;
0112                 /* all timings in nanoseconds */
0113                 ti,cs-min-turnaround-ns = <12>;
0114                 ti,cs-read-hold-ns = <6>;
0115                 ti,cs-read-strobe-ns = <23>;
0116                 ti,cs-read-setup-ns = <9>;
0117                 ti,cs-write-hold-ns = <8>;
0118                 ti,cs-write-strobe-ns = <23>;
0119                 ti,cs-write-setup-ns = <8>;
0120 
0121                 nand@0,0 {
0122                         compatible = "ti,keystone-nand","ti,davinci-nand";
0123                         #address-cells = <1>;
0124                         #size-cells = <1>;
0125                         reg = <0 0 0x4000000
0126                                1 0 0x0000100>;
0127 
0128                         ti,davinci-chipselect = <0>;
0129                         ti,davinci-mask-ale = <0x2000>;
0130                         ti,davinci-mask-cle = <0x4000>;
0131                         ti,davinci-mask-chipsel = <0>;
0132                         nand-ecc-mode = "hw";
0133                         ti,davinci-ecc-bits = <4>;
0134                         nand-on-flash-bbt;
0135 
0136                         partition@0 {
0137                                 label = "u-boot";
0138                                 reg = <0x0 0x100000>;
0139                                 read-only;
0140                         };
0141 
0142                         partition@100000 {
0143                                 label = "params";
0144                                 reg = <0x100000 0x80000>;
0145                                 read-only;
0146                         };
0147 
0148                         partition@180000 {
0149                                 label = "ubifs";
0150                                 reg = <0x180000 0x1fe80000>;
0151                         };
0152                 };
0153         };
0154 };
0155 
0156 &i2c0 {
0157         dtt@50 {
0158                 compatible = "atmel,24c1024";
0159                 reg = <0x50>;
0160         };
0161 };
0162 
0163 &spi0 {
0164         nor_flash: flash@0 {
0165                 #address-cells = <1>;
0166                 #size-cells = <1>;
0167                 compatible = "micron,n25q128a11", "jedec,spi-nor";
0168                 spi-max-frequency = <54000000>;
0169                 m25p,fast-read;
0170                 reg = <0>;
0171 
0172                 partition@0 {
0173                         label = "u-boot-spl";
0174                         reg = <0x0 0x80000>;
0175                         read-only;
0176                 };
0177 
0178                 partition@1 {
0179                         label = "misc";
0180                         reg = <0x80000 0xf80000>;
0181                 };
0182         };
0183 };
0184 
0185 &mdio {
0186         status = "ok";
0187         ethphy0: ethernet-phy@0 {
0188                 compatible = "marvell,88E1111", "ethernet-phy-ieee802.3-c22";
0189                 reg = <0>;
0190         };
0191 
0192         ethphy1: ethernet-phy@1 {
0193                 compatible = "marvell,88E1111", "ethernet-phy-ieee802.3-c22";
0194                 reg = <1>;
0195         };
0196 };
0197 
0198 &dsp0 {
0199         memory-region = <&dsp_common_memory>;
0200         status = "okay";
0201 };
0202 
0203 &dsp1 {
0204         memory-region = <&dsp_common_memory>;
0205         status = "okay";
0206 };
0207 
0208 &dsp2 {
0209         memory-region = <&dsp_common_memory>;
0210         status = "okay";
0211 };
0212 
0213 &dsp3 {
0214         memory-region = <&dsp_common_memory>;
0215         status = "okay";
0216 };
0217 
0218 &dsp4 {
0219         memory-region = <&dsp_common_memory>;
0220         status = "okay";
0221 };
0222 
0223 &dsp5 {
0224         memory-region = <&dsp_common_memory>;
0225         status = "okay";
0226 };
0227 
0228 &dsp6 {
0229         memory-region = <&dsp_common_memory>;
0230         status = "okay";
0231 };
0232 
0233 &dsp7 {
0234         memory-region = <&dsp_common_memory>;
0235         status = "okay";
0236 };