2019-08-20 09:35:29 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+ OR X11
|
|
|
|
/*
|
|
|
|
* P2020 Silicon/SoC Device Tree Source (post include)
|
|
|
|
*
|
|
|
|
* Copyright 2013 Freescale Semiconductor Inc.
|
|
|
|
* Copyright 2019 NXP
|
|
|
|
*/
|
|
|
|
|
|
|
|
&soc {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
device_type = "soc";
|
|
|
|
compatible = "fsl,p2020-immr", "simple-bus";
|
|
|
|
bus-frequency = <0x0>;
|
|
|
|
|
2019-12-12 09:30:55 +00:00
|
|
|
usb@22000 {
|
2022-04-08 12:39:56 +00:00
|
|
|
compatible = "fsl-usb2-dr-v1.6", "fsl-usb2-dr";
|
2019-12-12 09:30:55 +00:00
|
|
|
reg = <0x22000 0x1000>;
|
2022-04-08 12:39:56 +00:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
interrupts = <28 0x2 0 0>;
|
2019-12-12 09:30:55 +00:00
|
|
|
phy_type = "ulpi";
|
|
|
|
};
|
|
|
|
|
2019-08-20 09:35:29 +00:00
|
|
|
mpic: pic@40000 {
|
|
|
|
interrupt-controller;
|
|
|
|
#address-cells = <0>;
|
|
|
|
#interrupt-cells = <4>;
|
|
|
|
reg = <0x40000 0x40000>;
|
|
|
|
compatible = "fsl,mpic";
|
|
|
|
device_type = "open-pic";
|
|
|
|
big-endian;
|
|
|
|
single-cpu-affinity;
|
|
|
|
last-interrupt-source = <255>;
|
|
|
|
};
|
2019-10-15 09:20:41 +00:00
|
|
|
|
2022-04-05 09:23:25 +00:00
|
|
|
esdhc: sdhc@2e000 {
|
2022-04-08 12:39:53 +00:00
|
|
|
compatible = "fsl,p2020-esdhc", "fsl,esdhc";
|
2019-10-15 09:20:41 +00:00
|
|
|
reg = <0x2e000 0x1000>;
|
2022-04-08 12:39:53 +00:00
|
|
|
interrupts = <72 0x2 0 0>;
|
2019-10-15 09:20:41 +00:00
|
|
|
/* Filled in by U-Boot */
|
|
|
|
clock-frequency = <0>;
|
|
|
|
};
|
2020-05-01 12:04:03 +00:00
|
|
|
|
2020-06-04 15:16:37 +00:00
|
|
|
espi0: spi@7000 {
|
|
|
|
compatible = "fsl,mpc8536-espi";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
reg = <0x7000 0x1000>;
|
2022-04-08 12:39:55 +00:00
|
|
|
interrupts = < 0x3b 0x02 0x00 0x00 >;
|
2020-06-04 15:16:37 +00:00
|
|
|
fsl,espi-num-chipselects = <4>;
|
|
|
|
};
|
|
|
|
|
2020-09-21 09:46:23 +00:00
|
|
|
/include/ "pq3-i2c-0.dtsi"
|
|
|
|
/include/ "pq3-i2c-1.dtsi"
|
2022-04-02 22:42:26 +00:00
|
|
|
/include/ "pq3-duart-0.dtsi"
|
2022-04-08 12:39:50 +00:00
|
|
|
/include/ "pq3-gpio-0.dtsi"
|
2020-09-21 09:46:23 +00:00
|
|
|
|
2022-04-08 12:39:57 +00:00
|
|
|
L2: l2-cache-controller@20000 {
|
|
|
|
compatible = "fsl,p2020-l2-cache-controller";
|
|
|
|
reg = <0x20000 0x1000>;
|
|
|
|
cache-line-size = <32>; /* 32 bytes */
|
|
|
|
cache-size = <0x80000>; /* L2,512K */
|
|
|
|
interrupts = <16 2 0 0>;
|
|
|
|
};
|
|
|
|
|
2020-09-21 09:46:23 +00:00
|
|
|
/include/ "pq3-etsec1-0.dtsi"
|
2022-04-08 12:39:52 +00:00
|
|
|
/include/ "pq3-etsec1-timer-0.dtsi"
|
|
|
|
|
|
|
|
ptp_clock@24e00 {
|
|
|
|
interrupts = <68 2 0 0 69 2 0 0 70 2 0 0>;
|
|
|
|
};
|
|
|
|
|
2020-09-21 09:46:23 +00:00
|
|
|
/include/ "pq3-etsec1-1.dtsi"
|
|
|
|
/include/ "pq3-etsec1-2.dtsi"
|
2022-04-27 14:04:58 +00:00
|
|
|
|
2022-04-27 14:04:59 +00:00
|
|
|
/include/ "pq3-sec3.1-0.dtsi"
|
2022-04-27 14:04:58 +00:00
|
|
|
/include/ "pq3-mpic.dtsi"
|
|
|
|
/include/ "pq3-mpic-timer-B.dtsi"
|
2019-08-20 09:35:29 +00:00
|
|
|
};
|
2019-08-27 11:04:15 +00:00
|
|
|
|
|
|
|
/* PCIe controller base address 0x8000 */
|
|
|
|
&pci2 {
|
2022-04-08 12:39:51 +00:00
|
|
|
compatible = "fsl,pcie-p1_p2", "fsl,pcie-fsl-qoriq", "fsl,mpc8548-pcie";
|
2019-08-27 11:04:15 +00:00
|
|
|
law_trgt_if = <0>;
|
|
|
|
#address-cells = <3>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
device_type = "pci";
|
|
|
|
bus-range = <0x0 0xff>;
|
2022-04-08 12:39:51 +00:00
|
|
|
clock-frequency = <33333333>;
|
|
|
|
interrupts = <24 2 0 0>;
|
|
|
|
|
|
|
|
pcie@0 {
|
|
|
|
reg = <0 0 0 0 0>;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
#address-cells = <3>;
|
|
|
|
device_type = "pci";
|
|
|
|
interrupts = <24 2 0 0>;
|
|
|
|
interrupt-map-mask = <0xf800 0 0 7>;
|
|
|
|
|
|
|
|
interrupt-map = <
|
|
|
|
/* IDSEL 0x0 */
|
|
|
|
0000 0x0 0x0 0x1 &mpic 0x8 0x1 0x0 0x0
|
|
|
|
0000 0x0 0x0 0x2 &mpic 0x9 0x1 0x0 0x0
|
|
|
|
0000 0x0 0x0 0x3 &mpic 0xa 0x1 0x0 0x0
|
|
|
|
0000 0x0 0x0 0x4 &mpic 0xb 0x1 0x0 0x0
|
|
|
|
>;
|
|
|
|
};
|
2019-08-27 11:04:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* PCIe controller base address 0x9000 */
|
|
|
|
&pci1 {
|
2022-04-08 12:39:51 +00:00
|
|
|
compatible = "fsl,pcie-p1_p2", "fsl,pcie-fsl-qoriq", "fsl,mpc8548-pcie";
|
2019-08-27 11:04:15 +00:00
|
|
|
law_trgt_if = <1>;
|
|
|
|
#address-cells = <3>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
device_type = "pci";
|
|
|
|
bus-range = <0x0 0xff>;
|
2022-04-08 12:39:51 +00:00
|
|
|
clock-frequency = <33333333>;
|
|
|
|
interrupts = <25 2 0 0>;
|
|
|
|
|
|
|
|
pcie@0 {
|
|
|
|
reg = <0 0 0 0 0>;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
#address-cells = <3>;
|
|
|
|
device_type = "pci";
|
|
|
|
interrupts = <25 2 0 0>;
|
|
|
|
interrupt-map-mask = <0xf800 0 0 7>;
|
|
|
|
|
|
|
|
interrupt-map = <
|
|
|
|
/* IDSEL 0x0 */
|
|
|
|
0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0
|
|
|
|
0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0
|
|
|
|
0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
|
|
|
|
0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
|
|
|
|
>;
|
|
|
|
};
|
2019-08-27 11:04:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
/* PCIe controller base address 0xa000 */
|
|
|
|
&pci0 {
|
2022-04-08 12:39:51 +00:00
|
|
|
compatible = "fsl,pcie-p1_p2", "fsl,pcie-fsl-qoriq", "fsl,mpc8548-pcie";
|
2019-08-27 11:04:15 +00:00
|
|
|
law_trgt_if = <2>;
|
|
|
|
#address-cells = <3>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
device_type = "pci";
|
|
|
|
bus-range = <0x0 0xff>;
|
2022-04-08 12:39:51 +00:00
|
|
|
clock-frequency = <33333333>;
|
|
|
|
interrupts = <26 2 0 0>;
|
|
|
|
|
|
|
|
pcie@0 {
|
|
|
|
reg = <0 0 0 0 0>;
|
|
|
|
#interrupt-cells = <1>;
|
|
|
|
#size-cells = <2>;
|
|
|
|
#address-cells = <3>;
|
|
|
|
device_type = "pci";
|
|
|
|
interrupts = <26 2 0 0>;
|
|
|
|
interrupt-map-mask = <0xf800 0 0 7>;
|
|
|
|
interrupt-map = <
|
|
|
|
/* IDSEL 0x0 */
|
|
|
|
0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
|
|
|
|
0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
|
|
|
|
0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
|
|
|
|
0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
|
|
|
|
>;
|
|
|
|
};
|
2019-08-27 11:04:15 +00:00
|
|
|
};
|
2022-04-05 09:15:21 +00:00
|
|
|
|
|
|
|
&lbc {
|
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "fsl,p2020-elbc", "fsl,elbc", "simple-bus";
|
|
|
|
interrupts = <19 2 0 0>;
|
|
|
|
};
|