Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-or-later
0002 /*
0003  * TQM8XX Device Tree Source
0004  *
0005  * Heiko Schocher <hs@denx.de>
0006  * 2010 DENX Software Engineering GmbH
0007  */
0008 
0009 /dts-v1/;
0010 
0011 / {
0012         model = "TQM8xx";
0013         compatible = "tqc,tqm8xx";
0014         #address-cells = <1>;
0015         #size-cells = <1>;
0016 
0017         aliases {
0018                 ethernet0 = &eth0;
0019                 ethernet1 = &eth1;
0020                 mdio1 = &phy1;
0021                 serial0 = &smc1;
0022         };
0023 
0024         cpus {
0025                 #address-cells = <1>;
0026                 #size-cells = <0>;
0027 
0028                 PowerPC,860@0 {
0029                         device_type = "cpu";
0030                         reg = <0x0>;
0031                         d-cache-line-size = <16>;       // 16 bytes
0032                         i-cache-line-size = <16>;       // 16 bytes
0033                         d-cache-size = <0x1000>;                // L1, 4K
0034                         i-cache-size = <0x1000>;                // L1, 4K
0035                         timebase-frequency = <0>;
0036                         bus-frequency = <0>;
0037                         clock-frequency = <0>;
0038                         interrupts = <15 2>;    // decrementer interrupt
0039                         interrupt-parent = <&PIC>;
0040                 };
0041         };
0042 
0043         memory {
0044                 device_type = "memory";
0045                 reg = <0x0 0x2000000>;
0046         };
0047 
0048         localbus@fff00100 {
0049                 compatible = "fsl,mpc860-localbus", "fsl,pq1-localbus";
0050                 #address-cells = <2>;
0051                 #size-cells = <1>;
0052                 reg = <0xfff00100 0x40>;
0053 
0054                 ranges = <
0055                         0x0 0x0 0x40000000 0x800000
0056                         0x3 0x0 0xc0000000 0x200
0057                 >;
0058 
0059                 flash@0,0 {
0060                         compatible = "cfi-flash";
0061                         reg = <0 0 0x800000>;
0062                         #address-cells = <1>;
0063                         #size-cells = <1>;
0064                         bank-width = <4>;
0065                         device-width = <2>;
0066                 };
0067 
0068                 /* Note: CAN support needs be enabled in U-Boot */
0069                 can@3,0 {
0070                         compatible = "intc,82527";
0071                         reg = <3 0x0 0x80>;
0072                         interrupts = <8 1>;
0073                         interrupt-parent = <&PIC>;
0074                         bosch,external-clock-frequency = <16000000>;
0075                         bosch,disconnect-rx1-input;
0076                         bosch,disconnect-tx1-output;
0077                         bosch,iso-low-speed-mux;
0078                         bosch,clock-out-frequency = <16000000>;
0079                 };
0080 
0081                 can@3,100 {
0082                         compatible = "intc,82527";
0083                         reg = <3 0x100 0x80>;
0084                         interrupts = <8 1>;
0085                         interrupt-parent = <&PIC>;
0086                         bosch,external-clock-frequency = <16000000>;
0087                         bosch,disconnect-rx1-input;
0088                         bosch,disconnect-tx1-output;
0089                         bosch,iso-low-speed-mux;
0090                 };
0091         };
0092 
0093         soc@fff00000 {
0094                 #address-cells = <1>;
0095                 #size-cells = <1>;
0096                 device_type = "soc";
0097                 ranges = <0x0 0xfff00000 0x00004000>;
0098 
0099                 phy1: mdio@e00 {
0100                         compatible = "fsl,mpc866-fec-mdio", "fsl,pq1-fec-mdio";
0101                         reg = <0xe00 0x188>;
0102                         #address-cells = <1>;
0103                         #size-cells = <0>;
0104                         PHY: ethernet-phy@f {
0105                                 reg = <0xf>;
0106                         };
0107                 };
0108 
0109                 eth1: ethernet@e00 {
0110                         device_type = "network";
0111                         compatible = "fsl,mpc866-fec-enet",
0112                                      "fsl,pq1-fec-enet";
0113                         reg = <0xe00 0x188>;
0114                         interrupts = <3 1>;
0115                         interrupt-parent = <&PIC>;
0116                         phy-handle = <&PHY>;
0117                         linux,network-index = <1>;
0118                 };
0119 
0120                 PIC: pic@0 {
0121                         interrupt-controller;
0122                         #interrupt-cells = <2>;
0123                         reg = <0x0 0x24>;
0124                         compatible = "fsl,mpc860-pic", "fsl,pq1-pic";
0125                 };
0126 
0127                 cpm@9c0 {
0128                         #address-cells = <1>;
0129                         #size-cells = <1>;
0130                         compatible = "fsl,mpc860-cpm", "fsl,cpm1";
0131                         ranges;
0132                         reg = <0x9c0 0x40>;
0133                         brg-frequency = <0>;
0134                         interrupts = <0 2>;     // cpm error interrupt
0135                         interrupt-parent = <&CPM_PIC>;
0136 
0137                         muram@2000 {
0138                                 #address-cells = <1>;
0139                                 #size-cells = <1>;
0140                                 ranges = <0x0 0x2000 0x2000>;
0141 
0142                                 data@0 {
0143                                         compatible = "fsl,cpm-muram-data";
0144                                         reg = <0x0 0x2000>;
0145                                 };
0146                         };
0147 
0148                         brg@9f0 {
0149                                 compatible = "fsl,mpc860-brg",
0150                                              "fsl,cpm1-brg",
0151                                              "fsl,cpm-brg";
0152                                 reg = <0x9f0 0x10>;
0153                                 clock-frequency = <0>;
0154                         };
0155 
0156                         CPM_PIC: pic@930 {
0157                                 interrupt-controller;
0158                                 #address-cells = <0>;
0159                                 #interrupt-cells = <1>;
0160                                 interrupts = <5 2 0 2>;
0161                                 interrupt-parent = <&PIC>;
0162                                 reg = <0x930 0x20>;
0163                                 compatible = "fsl,mpc860-cpm-pic",
0164                                              "fsl,cpm1-pic";
0165                         };
0166 
0167 
0168                         smc1: serial@a80 {
0169                                 device_type = "serial";
0170                                 compatible = "fsl,mpc860-smc-uart",
0171                                              "fsl,cpm1-smc-uart";
0172                                 reg = <0xa80 0x10 0x3e80 0x40>;
0173                                 interrupts = <4>;
0174                                 interrupt-parent = <&CPM_PIC>;
0175                                 fsl,cpm-brg = <1>;
0176                                 fsl,cpm-command = <0x90>;
0177                         };
0178 
0179                         eth0: ethernet@a00 {
0180                                 device_type = "network";
0181                                 compatible = "fsl,mpc860-scc-enet",
0182                                              "fsl,cpm1-scc-enet";
0183                                 reg = <0xa00 0x18 0x3c00 0x100>;
0184                                 interrupts = <30>;
0185                                 interrupt-parent = <&CPM_PIC>;
0186                                 fsl,cpm-command = <0000>;
0187                                 linux,network-index = <0>;
0188                                 fixed-link = <0 0 10 0 0>;
0189                         };
0190                 };
0191         };
0192 };