2017-12-15 14:45:34 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2014-02-24 23:56:48 +08:00
|
|
|
/*
|
|
|
|
* Keystone 2 Lamarr EVM device tree
|
|
|
|
*
|
2017-12-15 14:45:34 +08:00
|
|
|
* Copyright (C) 2014-2017 Texas Instruments Incorporated - http://www.ti.com/
|
2014-02-24 23:56:48 +08:00
|
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
|
|
|
|
#include "keystone.dtsi"
|
2016-03-23 00:06:22 +08:00
|
|
|
#include "keystone-k2l.dtsi"
|
2014-02-24 23:56:48 +08:00
|
|
|
|
|
|
|
/ {
|
2015-10-04 08:02:56 +08:00
|
|
|
compatible = "ti,k2l-evm", "ti,k2l", "ti,keystone";
|
2014-02-24 23:56:48 +08:00
|
|
|
model = "Texas Instruments Keystone 2 Lamarr EVM";
|
|
|
|
|
2017-07-31 11:50:06 +08:00
|
|
|
reserved-memory {
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
dsp_common_memory: dsp-common-memory@81f800000 {
|
|
|
|
compatible = "shared-dma-pool";
|
|
|
|
reg = <0x00000008 0x1f800000 0x00000000 0x800000>;
|
|
|
|
reusable;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
};
|
2017-12-15 14:09:47 +08:00
|
|
|
};
|
2017-07-31 11:50:06 +08:00
|
|
|
|
2017-12-15 14:09:47 +08:00
|
|
|
&soc0 {
|
2014-02-24 23:56:48 +08:00
|
|
|
clocks {
|
|
|
|
refclksys: refclksys {
|
|
|
|
#clock-cells = <0>;
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
clock-frequency = <122880000>;
|
|
|
|
clock-output-names = "refclk-sys";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb_phy {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2016-09-01 04:29:59 +08:00
|
|
|
&keystone_usb0 {
|
2014-02-24 23:56:48 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
2014-04-08 19:46:07 +08:00
|
|
|
|
2016-09-01 04:29:59 +08:00
|
|
|
&usb0 {
|
|
|
|
dr_mode = "host";
|
|
|
|
};
|
|
|
|
|
2014-04-08 19:46:07 +08:00
|
|
|
&i2c0 {
|
|
|
|
dtt@50 {
|
2017-12-03 11:33:56 +08:00
|
|
|
compatible = "atmel,24c1024";
|
2014-04-08 19:46:07 +08:00
|
|
|
reg = <0x50>;
|
|
|
|
};
|
|
|
|
};
|
2014-05-09 05:31:01 +08:00
|
|
|
|
|
|
|
&aemif {
|
|
|
|
cs0 {
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
clock-ranges;
|
|
|
|
ranges;
|
|
|
|
|
|
|
|
ti,cs-chipselect = <0>;
|
|
|
|
/* all timings in nanoseconds */
|
|
|
|
ti,cs-min-turnaround-ns = <12>;
|
|
|
|
ti,cs-read-hold-ns = <6>;
|
|
|
|
ti,cs-read-strobe-ns = <23>;
|
|
|
|
ti,cs-read-setup-ns = <9>;
|
|
|
|
ti,cs-write-hold-ns = <8>;
|
|
|
|
ti,cs-write-strobe-ns = <23>;
|
|
|
|
ti,cs-write-setup-ns = <8>;
|
|
|
|
|
|
|
|
nand@0,0 {
|
|
|
|
compatible = "ti,keystone-nand","ti,davinci-nand";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
reg = <0 0 0x4000000
|
|
|
|
1 0 0x0000100>;
|
|
|
|
|
|
|
|
ti,davinci-chipselect = <0>;
|
|
|
|
ti,davinci-mask-ale = <0x2000>;
|
|
|
|
ti,davinci-mask-cle = <0x4000>;
|
|
|
|
ti,davinci-mask-chipsel = <0>;
|
|
|
|
nand-ecc-mode = "hw";
|
|
|
|
ti,davinci-ecc-bits = <4>;
|
|
|
|
nand-on-flash-bbt;
|
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "u-boot";
|
|
|
|
reg = <0x0 0x100000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@100000 {
|
|
|
|
label = "params";
|
|
|
|
reg = <0x100000 0x80000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@180000 {
|
|
|
|
label = "ubifs";
|
|
|
|
reg = <0x180000 0x7FE80000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2014-05-12 23:43:59 +08:00
|
|
|
|
|
|
|
&spi0 {
|
|
|
|
nor_flash: n25q128a11@0 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "Micron,n25q128a11";
|
|
|
|
spi-max-frequency = <54000000>;
|
|
|
|
m25p,fast-read;
|
|
|
|
reg = <0>;
|
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "u-boot-spl";
|
|
|
|
reg = <0x0 0x80000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@1 {
|
|
|
|
label = "misc";
|
|
|
|
reg = <0x80000 0xf80000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2014-10-09 21:32:57 +08:00
|
|
|
|
|
|
|
&mdio {
|
2015-04-24 05:02:13 +08:00
|
|
|
status = "ok";
|
2014-10-09 21:32:57 +08:00
|
|
|
ethphy0: ethernet-phy@0 {
|
|
|
|
compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ethphy1: ethernet-phy@1 {
|
|
|
|
compatible = "marvell,88E1514", "marvell,88E1510", "ethernet-phy-ieee802.3-c22";
|
|
|
|
reg = <1>;
|
|
|
|
};
|
|
|
|
};
|
2017-07-31 11:50:06 +08:00
|
|
|
|
|
|
|
&dsp0 {
|
|
|
|
memory-region = <&dsp_common_memory>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&dsp1 {
|
|
|
|
memory-region = <&dsp_common_memory>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&dsp2 {
|
|
|
|
memory-region = <&dsp_common_memory>;
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&dsp3 {
|
|
|
|
memory-region = <&dsp_common_memory>;
|
|
|
|
status = "okay";
|
|
|
|
};
|