0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003 * MPC866 ADS Device Tree Source
0004 *
0005 * Copyright 2006 MontaVista Software, Inc.
0006 * Copyright 2008 Freescale Semiconductor, Inc.
0007 */
0008
0009 /dts-v1/;
0010
0011 / {
0012 model = "MPC866ADS";
0013 compatible = "fsl,mpc866ads";
0014 #address-cells = <1>;
0015 #size-cells = <1>;
0016
0017 cpus {
0018 #address-cells = <1>;
0019 #size-cells = <0>;
0020
0021 PowerPC,866@0 {
0022 device_type = "cpu";
0023 reg = <0x0>;
0024 d-cache-line-size = <16>; // 16 bytes
0025 i-cache-line-size = <16>; // 16 bytes
0026 d-cache-size = <0x2000>; // L1, 8K
0027 i-cache-size = <0x4000>; // L1, 16K
0028 timebase-frequency = <0>;
0029 bus-frequency = <0>;
0030 clock-frequency = <0>;
0031 interrupts = <15 2>; // decrementer interrupt
0032 interrupt-parent = <&PIC>;
0033 };
0034 };
0035
0036 memory {
0037 device_type = "memory";
0038 reg = <0x0 0x800000>;
0039 };
0040
0041 localbus@ff000100 {
0042 compatible = "fsl,mpc866-localbus", "fsl,pq1-localbus";
0043 #address-cells = <2>;
0044 #size-cells = <1>;
0045 reg = <0xff000100 0x40>;
0046
0047 ranges = <
0048 0x1 0x0 0xff080000 0x8000
0049 0x5 0x0 0xff0a0000 0x8000
0050 >;
0051
0052 board-control@1,0 {
0053 reg = <0x1 0x0 0x20 0x5 0x300 0x4>;
0054 compatible = "fsl,mpc866ads-bcsr";
0055 };
0056 };
0057
0058 soc@ff000000 {
0059 #address-cells = <1>;
0060 #size-cells = <1>;
0061 device_type = "soc";
0062 ranges = <0x0 0xff000000 0x100000>;
0063 reg = <0xff000000 0x200>;
0064 bus-frequency = <0>;
0065
0066 mdio@e00 {
0067 compatible = "fsl,mpc866-fec-mdio", "fsl,pq1-fec-mdio";
0068 reg = <0xe00 0x188>;
0069 #address-cells = <1>;
0070 #size-cells = <0>;
0071 PHY: ethernet-phy@f {
0072 reg = <0xf>;
0073 };
0074 };
0075
0076 ethernet@e00 {
0077 device_type = "network";
0078 compatible = "fsl,mpc866-fec-enet",
0079 "fsl,pq1-fec-enet";
0080 reg = <0xe00 0x188>;
0081 local-mac-address = [ 00 00 00 00 00 00 ];
0082 interrupts = <3 1>;
0083 interrupt-parent = <&PIC>;
0084 phy-handle = <&PHY>;
0085 linux,network-index = <0>;
0086 };
0087
0088 PIC: pic@0 {
0089 interrupt-controller;
0090 #interrupt-cells = <2>;
0091 reg = <0x0 0x24>;
0092 compatible = "fsl,mpc866-pic", "fsl,pq1-pic";
0093 };
0094
0095 cpm@9c0 {
0096 #address-cells = <1>;
0097 #size-cells = <1>;
0098 compatible = "fsl,mpc866-cpm", "fsl,cpm1";
0099 ranges;
0100 reg = <0x9c0 0x40>;
0101 brg-frequency = <0>;
0102 interrupts = <0 2>; // cpm error interrupt
0103 interrupt-parent = <&CPM_PIC>;
0104
0105 muram@2000 {
0106 #address-cells = <1>;
0107 #size-cells = <1>;
0108 ranges = <0x0 0x2000 0x2000>;
0109
0110 data@0 {
0111 compatible = "fsl,cpm-muram-data";
0112 reg = <0x0 0x1c00>;
0113 };
0114 };
0115
0116 brg@9f0 {
0117 compatible = "fsl,mpc866-brg",
0118 "fsl,cpm1-brg",
0119 "fsl,cpm-brg";
0120 reg = <0x9f0 0x10>;
0121 clock-frequency = <0>;
0122 };
0123
0124 CPM_PIC: pic@930 {
0125 interrupt-controller;
0126 #address-cells = <0>;
0127 #interrupt-cells = <1>;
0128 interrupts = <5 2 0 2>;
0129 interrupt-parent = <&PIC>;
0130 reg = <0x930 0x20>;
0131 compatible = "fsl,mpc866-cpm-pic",
0132 "fsl,cpm1-pic";
0133 };
0134
0135
0136 serial@a80 {
0137 device_type = "serial";
0138 compatible = "fsl,mpc866-smc-uart",
0139 "fsl,cpm1-smc-uart";
0140 reg = <0xa80 0x10 0x3e80 0x40>;
0141 interrupts = <4>;
0142 interrupt-parent = <&CPM_PIC>;
0143 fsl,cpm-brg = <1>;
0144 fsl,cpm-command = <0x90>;
0145 };
0146
0147 serial@a90 {
0148 device_type = "serial";
0149 compatible = "fsl,mpc866-smc-uart",
0150 "fsl,cpm1-smc-uart";
0151 reg = <0xa90 0x10 0x3f80 0x40>;
0152 interrupts = <3>;
0153 interrupt-parent = <&CPM_PIC>;
0154 fsl,cpm-brg = <2>;
0155 fsl,cpm-command = <0xd0>;
0156 };
0157
0158 ethernet@a00 {
0159 device_type = "network";
0160 compatible = "fsl,mpc866-scc-enet",
0161 "fsl,cpm1-scc-enet";
0162 reg = <0xa00 0x18 0x3c00 0x100>;
0163 local-mac-address = [ 00 00 00 00 00 00 ];
0164 interrupts = <30>;
0165 interrupt-parent = <&CPM_PIC>;
0166 fsl,cpm-command = <0000>;
0167 linux,network-index = <1>;
0168 };
0169
0170 i2c@860 {
0171 compatible = "fsl,mpc866-i2c",
0172 "fsl,cpm1-i2c";
0173 reg = <0x860 0x20 0x3c80 0x30>;
0174 interrupts = <16>;
0175 interrupt-parent = <&CPM_PIC>;
0176 fsl,cpm-command = <0x10>;
0177 #address-cells = <1>;
0178 #size-cells = <0>;
0179 };
0180 };
0181 };
0182
0183 chosen {
0184 stdout-path = "/soc/cpm/serial@a80";
0185 };
0186 };