]> Git Repo - u-boot.git/blob - arch/arm/dts/zynq-cc108.dts
Merge patch series "Add support for MediaTek MT8365 EVK Board"
[u-boot.git] / arch / arm / dts / zynq-cc108.dts
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Xilinx CC108 board DTS
4  *
5  * (C) Copyright 2007-2018 Xilinx, Inc.
6  * (C) Copyright 2007-2013 Michal Simek
7  * (C) Copyright 2007-2012 PetaLogix Qld Pty Ltd
8  *
9  * Michal SIMEK <[email protected]>
10  */
11 /dts-v1/;
12 /include/ "zynq-7000.dtsi"
13
14 / {
15         model = "Xilinx CC108 board";
16         compatible = "xlnx,zynq-cc108", "xlnx,zynq-7000";
17
18         aliases {
19                 ethernet0 = &gem0;
20                 serial0 = &uart0;
21                 spi0 = &qspi;
22         };
23
24         chosen {
25                 bootargs = "";
26                 stdout-path = "serial0:115200n8";
27         };
28
29         memory@0 {
30                 device_type = "memory";
31                 reg = <0x0 0x20000000>;
32         };
33
34         usb_phy0: phy0 {
35                 compatible = "usb-nop-xceiv";
36                 #phy-cells = <0>;
37         };
38
39         usb_phy1: phy1 {
40                 compatible = "usb-nop-xceiv";
41                 #phy-cells = <0>;
42         };
43 };
44
45 &gem0 {
46         status = "okay";
47         phy-mode = "rgmii-id";
48         phy-handle = <&ethernet_phy>;
49
50         ethernet_phy: ethernet-phy@1 {
51                 reg = <1>;
52         };
53 };
54
55 &qspi {
56         status = "okay";
57         num-cs = <1>;
58         flash@0 { /* 16 MB */
59                 compatible = "n25q128a11", "jedec,spi-nor";
60                 reg = <0x0>;
61                 spi-max-frequency = <50000000>;
62                 spi-tx-bus-width = <1>;
63                 spi-rx-bus-width = <4>;
64                 #address-cells = <1>;
65                 #size-cells = <1>;
66                 partition@0 {
67                         label = "qspi-fsbl-uboot-bs";
68                         reg = <0x0 0x400000>; /* 4MB */
69                 };
70                 partition@400000 {
71                         label = "qspi-linux";
72                         reg = <0x400000 0x400000>; /* 4MB */
73                 };
74                 partition@800000 {
75                         label = "qspi-rootfs";
76                         reg = <0x800000 0x400000>; /* 4MB */
77                 };
78                 partition@c00000 {
79                         label = "qspi-devicetree";
80                         reg = <0xc00000 0x100000>; /* 1MB */
81                 };
82                 partition@d00000 {
83                         label = "qspi-scratch";
84                         reg = <0xd00000 0x200000>; /* 2MB */
85                 };
86                 partition@f00000 {
87                         label = "qspi-uboot-env";
88                         reg = <0xf00000 0x100000>; /* 1MB */
89                 };
90         };
91 };
92
93 &sdhci1 {
94         status = "okay";
95         broken-cd ;
96         wp-inverted ;
97 };
98
99 &uart0 {
100         bootph-all;
101         status = "okay";
102 };
103
104 &usb0 {
105         status = "okay";
106         dr_mode = "host";
107         usb-phy = <&usb_phy0>;
108 };
109
110 &usb1 {
111         status = "okay";
112         dr_mode = "host";
113         usb-phy = <&usb_phy1>;
114 };
This page took 0.036682 seconds and 4 git commands to generate.