Linux Audio

Check our new training course

Loading...
v6.2
  1// SPDX-License-Identifier: GPL-2.0-or-later
  2/*
  3 * Device Tree Source for MPC885 ADS running U-Boot
  4 *
  5 * Copyright 2006 MontaVista Software, Inc.
  6 * Copyright 2007 Freescale Semiconductor, Inc.
 
 
 
 
 
  7 */
  8
  9/dts-v1/;
 10/ {
 11	model = "Analogue & Micro Adder MPC875";
 12	compatible = "analogue-and-micro,adder875";
 13	#address-cells = <1>;
 14	#size-cells = <1>;
 15
 16	aliases {
 17		console = &console;
 18		ethernet0 = &eth0;
 19		ethernet1 = &eth1;
 20	};
 21
 22	cpus {
 23		#address-cells = <1>;
 24		#size-cells = <0>;
 25
 26		PowerPC,875@0 {
 27			device_type = "cpu";
 28			reg = <0>;
 29			d-cache-line-size = <16>;
 30			i-cache-line-size = <16>;
 31			d-cache-size = <8192>;
 32			i-cache-size = <8192>;
 33			timebase-frequency = <0>;
 34			bus-frequency = <0>;
 35			clock-frequency = <0>;
 36			interrupts = <15 2>;	// decrementer interrupt
 37			interrupt-parent = <&PIC>;
 38		};
 39	};
 40
 41	memory {
 42		device_type = "memory";
 43		reg = <0 0x01000000>;
 44	};
 45
 46	localbus@ff000100 {
 47		compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus",
 48		             "simple-bus";
 49		#address-cells = <2>;
 50		#size-cells = <1>;
 51		reg = <0xff000100 0x40>;
 52
 53		ranges = <
 54			0 0 0xfe000000 0x01000000
 55		>;
 56
 57		flash@0,0 {
 58			compatible = "cfi-flash";
 59			reg = <0 0 0x800000>;
 60			bank-width = <2>;
 61			device-width = <2>;
 62		};
 63	};
 64
 65	soc@ff000000 {
 66		compatible = "fsl,mpc875-immr", "fsl,pq1-soc", "simple-bus";
 67		#address-cells = <1>;
 68		#size-cells = <1>;
 69		ranges = <0 0xff000000 0x00004000>;
 70
 71		// Temporary until code stops depending on it.
 72		device_type = "soc";
 73
 74		// Temporary until get_immrbase() is fixed.
 75		reg = <0xff000000 0x4000>;
 76
 77		mdio@e00 {
 78			compatible = "fsl,mpc875-fec-mdio", "fsl,pq1-fec-mdio";
 79			reg = <0xe00 0x188>;
 80			#address-cells = <1>;
 81			#size-cells = <0>;
 82
 83			PHY0: ethernet-phy@0 {
 84				reg = <0>;
 85			};
 86
 87			PHY1: ethernet-phy@1 {
 88				reg = <1>;
 89			};
 90		};
 91
 92		eth0: ethernet@e00 {
 93			device_type = "network";
 94			compatible = "fsl,mpc875-fec-enet",
 95			             "fsl,pq1-fec-enet";
 96			reg = <0xe00 0x188>;
 97			local-mac-address = [ 00 00 00 00 00 00 ];
 98			interrupts = <3 1>;
 99			interrupt-parent = <&PIC>;
100			phy-handle = <&PHY0>;
101			linux,network-index = <0>;
102		};
103
104		eth1: ethernet@1e00 {
105			device_type = "network";
106			compatible = "fsl,mpc875-fec-enet",
107			             "fsl,pq1-fec-enet";
108			reg = <0x1e00 0x188>;
109			local-mac-address = [ 00 00 00 00 00 00 ];
110			interrupts = <7 1>;
111			interrupt-parent = <&PIC>;
112			phy-handle = <&PHY1>;
113			linux,network-index = <1>;
114		};
115
116		PIC: interrupt-controller@0 {
117			interrupt-controller;
118			#interrupt-cells = <2>;
119			reg = <0 0x24>;
120			compatible = "fsl,mpc875-pic", "fsl,pq1-pic";
121		};
122
123		cpm@9c0 {
124			#address-cells = <1>;
125			#size-cells = <1>;
126			compatible = "fsl,mpc875-cpm", "fsl,cpm1", "simple-bus";
127			interrupts = <0>;	// cpm error interrupt
128			interrupt-parent = <&CPM_PIC>;
129			reg = <0x9c0 0x40>;
130			ranges;
131
132			muram {
133				#address-cells = <1>;
134				#size-cells = <1>;
135				ranges = <0 0x2000 0x2000>;
136
137				data@0 {
138					compatible = "fsl,cpm-muram-data";
139					reg = <0 0x1c00>;
140				};
141			};
142
143			brg@9f0 {
144				compatible = "fsl,mpc875-brg",
145				             "fsl,cpm1-brg",
146				             "fsl,cpm-brg";
147				clock-frequency = <50000000>;
148				reg = <0x9f0 0x10>;
149			};
150
151			CPM_PIC: interrupt-controller@930 {
152				interrupt-controller;
153				#interrupt-cells = <1>;
154				interrupts = <5 2 0 2>;
155				interrupt-parent = <&PIC>;
156				reg = <0x930 0x20>;
157				compatible = "fsl,mpc875-cpm-pic",
158				             "fsl,cpm1-pic";
159			};
160
161			console: serial@a80 {
162				device_type = "serial";
163				compatible = "fsl,mpc875-smc-uart",
164				             "fsl,cpm1-smc-uart";
165				reg = <0xa80 0x10 0x3e80 0x40>;
166				interrupts = <4>;
167				interrupt-parent = <&CPM_PIC>;
168				fsl,cpm-brg = <1>;
169				fsl,cpm-command = <0x0090>;
170				current-speed = <115200>;
171			};
172		};
173	};
174
175	chosen {
176		stdout-path = &console;
177	};
178};
v3.15
 
  1/*
  2 * Device Tree Source for MPC885 ADS running U-Boot
  3 *
  4 * Copyright 2006 MontaVista Software, Inc.
  5 * Copyright 2007 Freescale Semiconductor, Inc.
  6 *
  7 * This program is free software; you can redistribute  it and/or modify it
  8 * under  the terms of  the GNU General  Public License as published by the
  9 * Free Software Foundation;  either version 2 of the  License, or (at your
 10 * option) any later version.
 11 */
 12
 13/dts-v1/;
 14/ {
 15	model = "Analogue & Micro Adder MPC875";
 16	compatible = "analogue-and-micro,adder875";
 17	#address-cells = <1>;
 18	#size-cells = <1>;
 19
 20	aliases {
 21		console = &console;
 22		ethernet0 = &eth0;
 23		ethernet1 = &eth1;
 24	};
 25
 26	cpus {
 27		#address-cells = <1>;
 28		#size-cells = <0>;
 29
 30		PowerPC,875@0 {
 31			device_type = "cpu";
 32			reg = <0>;
 33			d-cache-line-size = <16>;
 34			i-cache-line-size = <16>;
 35			d-cache-size = <8192>;
 36			i-cache-size = <8192>;
 37			timebase-frequency = <0>;
 38			bus-frequency = <0>;
 39			clock-frequency = <0>;
 40			interrupts = <15 2>;	// decrementer interrupt
 41			interrupt-parent = <&PIC>;
 42		};
 43	};
 44
 45	memory {
 46		device_type = "memory";
 47		reg = <0 0x01000000>;
 48	};
 49
 50	localbus@ff000100 {
 51		compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus",
 52		             "simple-bus";
 53		#address-cells = <2>;
 54		#size-cells = <1>;
 55		reg = <0xff000100 0x40>;
 56
 57		ranges = <
 58			0 0 0xfe000000 0x01000000
 59		>;
 60
 61		flash@0,0 {
 62			compatible = "cfi-flash";
 63			reg = <0 0 0x800000>;
 64			bank-width = <2>;
 65			device-width = <2>;
 66		};
 67	};
 68
 69	soc@ff000000 {
 70		compatible = "fsl,mpc875-immr", "fsl,pq1-soc", "simple-bus";
 71		#address-cells = <1>;
 72		#size-cells = <1>;
 73		ranges = <0 0xff000000 0x00004000>;
 74
 75		// Temporary until code stops depending on it.
 76		device_type = "soc";
 77
 78		// Temporary until get_immrbase() is fixed.
 79		reg = <0xff000000 0x4000>;
 80
 81		mdio@e00 {
 82			compatible = "fsl,mpc875-fec-mdio", "fsl,pq1-fec-mdio";
 83			reg = <0xe00 0x188>;
 84			#address-cells = <1>;
 85			#size-cells = <0>;
 86
 87			PHY0: ethernet-phy@0 {
 88				reg = <0>;
 89			};
 90
 91			PHY1: ethernet-phy@1 {
 92				reg = <1>;
 93			};
 94		};
 95
 96		eth0: ethernet@e00 {
 97			device_type = "network";
 98			compatible = "fsl,mpc875-fec-enet",
 99			             "fsl,pq1-fec-enet";
100			reg = <0xe00 0x188>;
101			local-mac-address = [ 00 00 00 00 00 00 ];
102			interrupts = <3 1>;
103			interrupt-parent = <&PIC>;
104			phy-handle = <&PHY0>;
105			linux,network-index = <0>;
106		};
107
108		eth1: ethernet@1e00 {
109			device_type = "network";
110			compatible = "fsl,mpc875-fec-enet",
111			             "fsl,pq1-fec-enet";
112			reg = <0x1e00 0x188>;
113			local-mac-address = [ 00 00 00 00 00 00 ];
114			interrupts = <7 1>;
115			interrupt-parent = <&PIC>;
116			phy-handle = <&PHY1>;
117			linux,network-index = <1>;
118		};
119
120		PIC: interrupt-controller@0 {
121			interrupt-controller;
122			#interrupt-cells = <2>;
123			reg = <0 0x24>;
124			compatible = "fsl,mpc875-pic", "fsl,pq1-pic";
125		};
126
127		cpm@9c0 {
128			#address-cells = <1>;
129			#size-cells = <1>;
130			compatible = "fsl,mpc875-cpm", "fsl,cpm1", "simple-bus";
131			interrupts = <0>;	// cpm error interrupt
132			interrupt-parent = <&CPM_PIC>;
133			reg = <0x9c0 0x40>;
134			ranges;
135
136			muram {
137				#address-cells = <1>;
138				#size-cells = <1>;
139				ranges = <0 0x2000 0x2000>;
140
141				data@0 {
142					compatible = "fsl,cpm-muram-data";
143					reg = <0 0x1c00>;
144				};
145			};
146
147			brg@9f0 {
148				compatible = "fsl,mpc875-brg",
149				             "fsl,cpm1-brg",
150				             "fsl,cpm-brg";
151				clock-frequency = <50000000>;
152				reg = <0x9f0 0x10>;
153			};
154
155			CPM_PIC: interrupt-controller@930 {
156				interrupt-controller;
157				#interrupt-cells = <1>;
158				interrupts = <5 2 0 2>;
159				interrupt-parent = <&PIC>;
160				reg = <0x930 0x20>;
161				compatible = "fsl,mpc875-cpm-pic",
162				             "fsl,cpm1-pic";
163			};
164
165			console: serial@a80 {
166				device_type = "serial";
167				compatible = "fsl,mpc875-smc-uart",
168				             "fsl,cpm1-smc-uart";
169				reg = <0xa80 0x10 0x3e80 0x40>;
170				interrupts = <4>;
171				interrupt-parent = <&CPM_PIC>;
172				fsl,cpm-brg = <1>;
173				fsl,cpm-command = <0x0090>;
174				current-speed = <115200>;
175			};
176		};
177	};
178
179	chosen {
180		linux,stdout-path = &console;
181	};
182};