2018-03-27 11:43:05 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2017-11-02 08:18:42 +00:00
|
|
|
/*
|
|
|
|
* Xilinx CC108 board DTS
|
|
|
|
*
|
2018-03-27 11:43:05 +00:00
|
|
|
* (C) Copyright 2007-2018 Xilinx, Inc.
|
2017-11-02 08:18:42 +00:00
|
|
|
* (C) Copyright 2007-2013 Michal Simek
|
|
|
|
* (C) Copyright 2007-2012 PetaLogix Qld Pty Ltd
|
|
|
|
*
|
|
|
|
* Michal SIMEK <monstr@monstr.eu>
|
|
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
/include/ "zynq-7000.dtsi"
|
|
|
|
|
|
|
|
/ {
|
2018-07-12 04:10:20 +00:00
|
|
|
model = "Xilinx CC108 board";
|
2017-11-02 08:18:42 +00:00
|
|
|
compatible = "xlnx,zynq-cc108", "xlnx,zynq-7000";
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
ethernet0 = &gem0;
|
|
|
|
serial0 = &uart0;
|
|
|
|
spi0 = &qspi;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
|
|
|
bootargs = "";
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
|
|
|
memory@0 {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x0 0x20000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
usb_phy0: phy0 {
|
|
|
|
compatible = "usb-nop-xceiv";
|
|
|
|
#phy-cells = <0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
usb_phy1: phy1 {
|
|
|
|
compatible = "usb-nop-xceiv";
|
|
|
|
#phy-cells = <0>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&gem0 {
|
|
|
|
status = "okay";
|
|
|
|
phy-mode = "rgmii-id";
|
|
|
|
phy-handle = <ðernet_phy>;
|
|
|
|
|
|
|
|
ethernet_phy: ethernet-phy@1 {
|
|
|
|
reg = <1>;
|
|
|
|
device_type = "ethernet-phy";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&qspi {
|
|
|
|
status = "okay";
|
|
|
|
is-dual = <0>;
|
|
|
|
num-cs = <1>;
|
|
|
|
flash@0 { /* 16 MB */
|
|
|
|
compatible = "n25q128a11";
|
|
|
|
reg = <0x0>;
|
|
|
|
spi-max-frequency = <50000000>;
|
|
|
|
spi-tx-bus-width = <1>;
|
|
|
|
spi-rx-bus-width = <4>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
partition@0 {
|
|
|
|
label = "qspi-fsbl-uboot-bs";
|
|
|
|
reg = <0x0 0x400000>; /* 4MB */
|
|
|
|
};
|
2018-03-27 12:31:42 +00:00
|
|
|
partition@400000 {
|
2017-11-02 08:18:42 +00:00
|
|
|
label = "qspi-linux";
|
|
|
|
reg = <0x400000 0x400000>; /* 4MB */
|
|
|
|
};
|
2018-03-27 12:31:42 +00:00
|
|
|
partition@800000 {
|
2017-11-02 08:18:42 +00:00
|
|
|
label = "qspi-rootfs";
|
|
|
|
reg = <0x800000 0x400000>; /* 4MB */
|
|
|
|
};
|
2018-03-27 12:31:42 +00:00
|
|
|
partition@c00000 {
|
2017-11-02 08:18:42 +00:00
|
|
|
label = "qspi-devicetree";
|
|
|
|
reg = <0xc00000 0x100000>; /* 1MB */
|
|
|
|
};
|
2018-03-27 12:31:42 +00:00
|
|
|
partition@d00000 {
|
2017-11-02 08:18:42 +00:00
|
|
|
label = "qspi-scratch";
|
|
|
|
reg = <0xd00000 0x200000>; /* 2MB */
|
|
|
|
};
|
2018-03-27 12:31:42 +00:00
|
|
|
partition@f00000 {
|
2017-11-02 08:18:42 +00:00
|
|
|
label = "qspi-uboot-env";
|
|
|
|
reg = <0xf00000 0x100000>; /* 1MB */
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
&sdhci1 {
|
|
|
|
status = "okay";
|
|
|
|
broken-cd ;
|
|
|
|
wp-inverted ;
|
|
|
|
};
|
|
|
|
|
|
|
|
&uart0 {
|
2018-01-17 09:17:19 +00:00
|
|
|
u-boot,dm-pre-reloc;
|
2017-11-02 08:18:42 +00:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb0 {
|
|
|
|
status = "okay";
|
|
|
|
dr_mode = "host";
|
|
|
|
usb-phy = <&usb_phy0>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&usb1 {
|
|
|
|
status = "okay";
|
|
|
|
dr_mode = "host";
|
|
|
|
usb-phy = <&usb_phy1>;
|
|
|
|
};
|