1 // SPDX-License-Identifier: GPL-2.0-or-later or MIT
3 /include/ "fsl/p1020si-pre.dtsi"
6 compatible = "ocedo,panda";
9 led-boot = &system_blue;
10 led-failsafe = &system_blue;
11 led-running = &system_blue;
12 led-upgrade = &system_blue;
16 /* Needed for initramfs */
17 bootargs-override = "console=ttyS0,115200 ubi.mtd=3,2048";
21 device_type = "memory";
24 lbc: localbus@ffe05000 {
25 reg = <0 0xffe05000 0 0x1000>;
26 ranges = <0x0 0x0 0x0 0xec000000 0x04000000
27 0x1 0x0 0x0 0xff800000 0x00040000
28 0x2 0x0 0x0 0xffa00000 0x00020000
29 0x3 0x0 0x0 0xffb00000 0x00020000>;
32 compatible = "fsl,p1020-fcm-nand", "fsl,elbc-fcm-nand";
33 reg = <0x1 0x0 0x40000>;
36 compatible = "fixed-partitions";
47 reg = <0xa0000 0x20000>;
52 reg = <0xc0000 0x40000>;
57 reg = <0x100000 0xff00000>;
65 ranges = <0x0 0x0 0xffe00000 0x100000>;
69 compatible = "dallas,ds1339";
74 gpio0: gpio-controller@fc00 {
78 phy0: ethernet-phy@8 {
82 phy1: ethernet-phy@9 {
86 switch0: ethernet-phy@0 {
147 tbi_phy0: tbi-phy@11 {
153 tbi_phy1: tbi-phy@11 {
158 enet0: ethernet@b0000 {
159 phy-connection-type = "rgmii-id";
160 phy-handle = <&switch0>;
168 enet1: ethernet@b1000 {
169 phy-connection-type = "sgmii";
170 phy-handle = <&phy0>;
172 tbi-handle = <&tbi_phy0>;
175 enet2: ethernet@b2000 {
176 phy-connection-type = "sgmii";
177 phy-handle = <&phy1>;
179 tbi-handle = <&tbi_phy1>;
192 pci0: pcie@ffe09000 {
193 ranges = <0x2000000 0x0 0xa0000000 0 0xa0000000 0x0 0x20000000
194 0x1000000 0x0 0x00000000 0 0xffc10000 0x0 0x10000>;
195 reg = <0 0xffe09000 0 0x1000>;
197 ranges = <0x2000000 0x0 0xa0000000
198 0x2000000 0x0 0xa0000000
207 pci1: pcie@ffe0a000 {
208 reg = <0 0xffe0a000 0 0x1000>;
209 ranges = <0x2000000 0x0 0x80000000 0 0x80000000 0x0 0x20000000
210 0x1000000 0x0 0x00000000 0 0xffc00000 0x0 0x10000>;
212 ranges = <0x2000000 0x0 0x80000000
213 0x2000000 0x0 0x80000000
223 compatible = "gpio-leds";
226 gpios = <&gpio0 0 0>;
227 label = "panda:green:power";
228 default-state = "on";
232 gpios = <&gpio0 1 0>;
233 label = "panda:yellow:wlan0";
234 linux,default-trigger = "phy0tpt";
238 gpios = <&gpio0 2 0>;
239 label = "panda:red:wlan1";
240 linux,default-trigger = "phy1tpt";
244 gpios = <&gpio0 3 0>;
245 label = "panda:orange:tbd";
248 system_blue: system {
249 gpios = <&gpio0 4 0>;
250 label = "panda:blue:system";
255 compatible = "gpio-keys";
258 label = "Reset button";
259 gpios = <&gpio0 6 1>;
260 linux,code = <0x198>;
264 /include/ "fsl/p1020si-post.dtsi"