2015-09-19 10:56:55 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2014 Texas Instruments, Inc.
|
|
|
|
*
|
2017-01-31 04:02:57 +00:00
|
|
|
* Device Tree Source for K2G EVM
|
2015-09-19 10:56:55 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
|
2017-01-31 04:02:57 +00:00
|
|
|
#include "keystone-k2g.dtsi"
|
2015-09-19 10:56:55 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "ti,k2g-evm","ti,keystone";
|
2017-01-31 04:02:57 +00:00
|
|
|
model = "Texas Instruments K2G General Purpose EVM";
|
2015-09-19 10:56:55 +00:00
|
|
|
|
|
|
|
chosen {
|
|
|
|
stdout-path = &uart0;
|
2017-06-16 22:25:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
memory@80000000 {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x80000000 0x80000000>;
|
2015-09-19 10:56:55 +00:00
|
|
|
};
|
|
|
|
};
|
2016-02-02 10:21:37 +00:00
|
|
|
|
|
|
|
&mdio {
|
|
|
|
status = "okay";
|
|
|
|
ethphy0: ethernet-phy@0 {
|
|
|
|
reg = <0>;
|
|
|
|
phy-mode = "rgmii-id";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&gbe0 {
|
|
|
|
phy-handle = <ðphy0>;
|
|
|
|
};
|
2016-07-06 04:29:05 +00:00
|
|
|
|
2017-06-16 22:25:30 +00:00
|
|
|
&netcp {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2016-07-06 04:29:05 +00:00
|
|
|
&spi1 {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
spi_nor: flash@0 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "spi-flash";
|
|
|
|
spi-max-frequency = <50000000>;
|
|
|
|
m25p,fast-read;
|
|
|
|
reg = <0>;
|
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "u-boot-spl";
|
|
|
|
reg = <0x0 0x80000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@1 {
|
|
|
|
label = "misc";
|
|
|
|
reg = <0x80000 0xf80000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-07-06 04:50:57 +00:00
|
|
|
|
|
|
|
&qspi {
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
flash0: m25p80@0 {
|
|
|
|
compatible = "s25fl512s","spi-flash";
|
|
|
|
reg = <0>;
|
|
|
|
spi-tx-bus-width = <1>;
|
|
|
|
spi-rx-bus-width = <4>;
|
|
|
|
spi-max-frequency = <96000000>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
tshsl-ns = <392>;
|
|
|
|
tsd2d-ns = <392>;
|
|
|
|
tchsh-ns = <100>;
|
|
|
|
tslch-ns = <100>;
|
|
|
|
block-size = <18>;
|
|
|
|
|
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "QSPI.u-boot-spl-os";
|
|
|
|
reg = <0x00000000 0x00100000>;
|
|
|
|
};
|
|
|
|
partition@1 {
|
|
|
|
label = "QSPI.u-boot-env";
|
|
|
|
reg = <0x00100000 0x00040000>;
|
|
|
|
};
|
|
|
|
partition@2 {
|
|
|
|
label = "QSPI.skern";
|
|
|
|
reg = <0x00140000 0x0040000>;
|
|
|
|
};
|
|
|
|
partition@3 {
|
|
|
|
label = "QSPI.pmmc-firmware";
|
|
|
|
reg = <0x00180000 0x0040000>;
|
|
|
|
};
|
|
|
|
partition@4 {
|
|
|
|
label = "QSPI.kernel";
|
|
|
|
reg = <0x001C0000 0x0800000>;
|
|
|
|
};
|
|
|
|
partition@5 {
|
|
|
|
label = "QSPI.file-system";
|
|
|
|
reg = <0x009C0000 0x3640000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-08-10 13:54:05 +00:00
|
|
|
|
|
|
|
&mmc0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&mmc1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
2017-04-20 15:25:48 +00:00
|
|
|
|
|
|
|
&i2c0 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&i2c1 {
|
|
|
|
status = "okay";
|
|
|
|
};
|