Linux Audio

Check our new training course

Loading...
v4.17
  1/*
  2 * Manroland mucmc52 board Device Tree Source
  3 *
  4 * Copyright (C) 2009 DENX Software Engineering GmbH
  5 * Heiko Schocher <hs@denx.de>
  6 * Copyright 2006-2007 Secret Lab Technologies Ltd.
  7 *
  8 * This program is free software; you can redistribute  it and/or modify it
  9 * under  the terms of  the GNU General  Public License as published by the
 10 * Free Software Foundation;  either version 2 of the  License, or (at your
 11 * option) any later version.
 12 */
 13
 14/include/ "mpc5200b.dtsi"
 15
 16/* Timer pins that need to be in GPIO mode */
 17&gpt0 { gpio-controller; };
 18&gpt1 { gpio-controller; };
 19&gpt2 { gpio-controller; };
 20&gpt3 { gpio-controller; };
 21
 22/* Disabled timers */
 23&gpt4 { status = "disabled"; };
 24&gpt5 { status = "disabled"; };
 25&gpt6 { status = "disabled"; };
 26&gpt7 { status = "disabled"; };
 27
 28/ {
 29	model = "manroland,mucmc52";
 30	compatible = "manroland,mucmc52";
 31
 32	soc5200@f0000000 {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 33		rtc@800 {
 34			status = "disabled";
 35		};
 36
 37		can@900 {
 38			status = "disabled";
 39		};
 40
 41		can@980 {
 42			status = "disabled";
 43		};
 44
 45		spi@f00 {
 46			status = "disabled";
 47		};
 48
 49		usb@1000 {
 50			status = "disabled";
 51		};
 52
 53		psc@2000 {		// PSC1
 54			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
 55		};
 56
 57		psc@2200 {		// PSC2
 58			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
 59		};
 60
 61		psc@2400 {		// PSC3
 62			status = "disabled";
 63		};
 64
 65		psc@2600 {		// PSC4
 66			status = "disabled";
 67		};
 68
 69		psc@2800 {		// PSC5
 70			status = "disabled";
 71		};
 72
 73		psc@2c00 {		// PSC6
 74			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
 75		};
 76
 77		ethernet@3000 {
 78			phy-handle = <&phy0>;
 79		};
 80
 81		mdio@3000 {
 82			phy0: ethernet-phy@0 {
 83				compatible = "intel,lxt971";
 84				reg = <0>;
 85			};
 86		};
 87
 88		i2c@3d00 {
 89			status = "disabled";
 90		};
 91
 92		i2c@3d40 {
 93			hwmon@2c {
 94				compatible = "ad,adm9240";
 95				reg = <0x2c>;
 96			};
 97			rtc@51 {
 98				compatible = "nxp,pcf8563";
 99				reg = <0x51>;
100			};
101		};
102	};
103
104	pci@f0000d00 {
105		interrupt-map-mask = <0xf800 0 0 7>;
106		interrupt-map = <
107				/* IDSEL 0x10 */
108				0x8000 0 0 1 &mpc5200_pic 0 3 3
109				0x8000 0 0 2 &mpc5200_pic 0 3 3
110				0x8000 0 0 3 &mpc5200_pic 0 2 3
111				0x8000 0 0 4 &mpc5200_pic 0 1 3
112				>;
113		ranges = <0x42000000 0 0x60000000 0x60000000 0 0x10000000
114			  0x02000000 0 0x90000000 0x90000000 0 0x10000000
115			  0x01000000 0 0x00000000 0xa0000000 0 0x01000000>;
116	};
117
118	localbus {
119		ranges = <0 0 0xff800000 0x00800000
120			  1 0 0x80000000 0x00800000
121			  3 0 0x80000000 0x00800000>;
122
123		flash@0,0 {
124			compatible = "cfi-flash";
125			reg = <0 0 0x00800000>;
126			bank-width = <4>;
127			device-width = <2>;
128			#size-cells = <1>;
129			#address-cells = <1>;
130			partition@0 {
131				label = "DTS";
132				reg = <0x0 0x00100000>;
133			};
134			partition@100000 {
135				label = "Kernel";
136				reg = <0x100000 0x00200000>;
137			};
138			partition@300000 {
139				label = "RootFS";
140				reg = <0x00300000 0x00200000>;
141			};
142			partition@500000 {
143				label = "user";
144				reg = <0x00500000 0x00200000>;
145			};
146			partition@700000 {
147				label = "U-Boot";
148				reg = <0x00700000 0x00040000>;
149			};
150			partition@740000 {
151				label = "Env";
152				reg = <0x00740000 0x00020000>;
153			};
154			partition@760000 {
155				label = "red. Env";
156				reg = <0x00760000 0x00020000>;
157			};
158			partition@780000 {
159				label = "reserve";
160				reg = <0x00780000 0x00080000>;
161			};
162		};
163
164		simple100: gpio-controller-100@3,600100 {
165			compatible = "manroland,mucmc52-aux-gpio";
166			reg = <3 0x00600100 0x1>;
167			gpio-controller;
168			#gpio-cells = <2>;
169		};
170		simple104: gpio-controller-104@3,600104 {
171			compatible = "manroland,mucmc52-aux-gpio";
172			reg = <3 0x00600104 0x1>;
173			gpio-controller;
174			#gpio-cells = <2>;
175		};
176		simple200: gpio-controller-200@3,600200 {
177			compatible = "manroland,mucmc52-aux-gpio";
178			reg = <3 0x00600200 0x1>;
179			gpio-controller;
180			#gpio-cells = <2>;
181		};
182		simple201: gpio-controller-201@3,600201 {
183			compatible = "manroland,mucmc52-aux-gpio";
184			reg = <3 0x00600201 0x1>;
185			gpio-controller;
186			#gpio-cells = <2>;
187		};
188		simple202: gpio-controller-202@3,600202 {
189			compatible = "manroland,mucmc52-aux-gpio";
190			reg = <3 0x00600202 0x1>;
191			gpio-controller;
192			#gpio-cells = <2>;
193		};
194		simple203: gpio-controller-203@3,600203 {
195			compatible = "manroland,mucmc52-aux-gpio";
196			reg = <3 0x00600203 0x1>;
197			gpio-controller;
198			#gpio-cells = <2>;
199		};
200		simple204: gpio-controller-204@3,600204 {
201			compatible = "manroland,mucmc52-aux-gpio";
202			reg = <3 0x00600204 0x1>;
203			gpio-controller;
204			#gpio-cells = <2>;
205		};
206		simple206: gpio-controller-206@3,600206 {
207			compatible = "manroland,mucmc52-aux-gpio";
208			reg = <3 0x00600206 0x1>;
209			gpio-controller;
210			#gpio-cells = <2>;
211		};
212		simple207: gpio-controller-207@3,600207 {
213			compatible = "manroland,mucmc52-aux-gpio";
214			reg = <3 0x00600207 0x1>;
215			gpio-controller;
216			#gpio-cells = <2>;
217		};
218		simple20f: gpio-controller-20f@3,60020f {
219			compatible = "manroland,mucmc52-aux-gpio";
220			reg = <3 0x0060020f 0x1>;
221			gpio-controller;
222			#gpio-cells = <2>;
223		};
224
225	};
226};
v3.1
  1/*
  2 * Manroland mucmc52 board Device Tree Source
  3 *
  4 * Copyright (C) 2009 DENX Software Engineering GmbH
  5 * Heiko Schocher <hs@denx.de>
  6 * Copyright 2006-2007 Secret Lab Technologies Ltd.
  7 *
  8 * This program is free software; you can redistribute  it and/or modify it
  9 * under  the terms of  the GNU General  Public License as published by the
 10 * Free Software Foundation;  either version 2 of the  License, or (at your
 11 * option) any later version.
 12 */
 13
 14/include/ "mpc5200b.dtsi"
 15
 
 
 
 
 
 
 
 
 
 
 
 
 16/ {
 17	model = "manroland,mucmc52";
 18	compatible = "manroland,mucmc52";
 19
 20	soc5200@f0000000 {
 21		gpt0: timer@600 {	// GPT 0 in GPIO mode
 22			gpio-controller;
 23			#gpio-cells = <2>;
 24		};
 25
 26		gpt1: timer@610 {	// General Purpose Timer in GPIO mode
 27			gpio-controller;
 28			#gpio-cells = <2>;
 29		};
 30
 31		gpt2: timer@620 {	// General Purpose Timer in GPIO mode
 32			gpio-controller;
 33			#gpio-cells = <2>;
 34		};
 35
 36		gpt3: timer@630 {	// General Purpose Timer in GPIO mode
 37			gpio-controller;
 38			#gpio-cells = <2>;
 39		};
 40
 41		timer@640 {
 42			status = "disabled";
 43		};
 44
 45		timer@650 {
 46			status = "disabled";
 47		};
 48
 49		timer@660 {
 50			status = "disabled";
 51		};
 52
 53		timer@670 {
 54			status = "disabled";
 55		};
 56
 57		rtc@800 {
 58			status = "disabled";
 59		};
 60
 61		can@900 {
 62			status = "disabled";
 63		};
 64
 65		can@980 {
 66			status = "disabled";
 67		};
 68
 69		spi@f00 {
 70			status = "disabled";
 71		};
 72
 73		usb@1000 {
 74			status = "disabled";
 75		};
 76
 77		psc@2000 {		// PSC1
 78			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
 79		};
 80
 81		psc@2200 {		// PSC2
 82			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
 83		};
 84
 85		psc@2400 {		// PSC3
 86			status = "disabled";
 87		};
 88
 89		psc@2600 {		// PSC4
 90			status = "disabled";
 91		};
 92
 93		psc@2800 {		// PSC5
 94			status = "disabled";
 95		};
 96
 97		psc@2c00 {		// PSC6
 98			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
 99		};
100
101		ethernet@3000 {
102			phy-handle = <&phy0>;
103		};
104
105		mdio@3000 {
106			phy0: ethernet-phy@0 {
107				compatible = "intel,lxt971";
108				reg = <0>;
109			};
110		};
111
112		i2c@3d00 {
113			status = "disabled";
114		};
115
116		i2c@3d40 {
117			hwmon@2c {
118				compatible = "ad,adm9240";
119				reg = <0x2c>;
120			};
121			rtc@51 {
122				compatible = "nxp,pcf8563";
123				reg = <0x51>;
124			};
125		};
126	};
127
128	pci@f0000d00 {
129		interrupt-map-mask = <0xf800 0 0 7>;
130		interrupt-map = <
131				/* IDSEL 0x10 */
132				0x8000 0 0 1 &mpc5200_pic 0 3 3
133				0x8000 0 0 2 &mpc5200_pic 0 3 3
134				0x8000 0 0 3 &mpc5200_pic 0 2 3
135				0x8000 0 0 4 &mpc5200_pic 0 1 3
136				>;
137		ranges = <0x42000000 0 0x60000000 0x60000000 0 0x10000000
138			  0x02000000 0 0x90000000 0x90000000 0 0x10000000
139			  0x01000000 0 0x00000000 0xa0000000 0 0x01000000>;
140	};
141
142	localbus {
143		ranges = <0 0 0xff800000 0x00800000
144			  1 0 0x80000000 0x00800000
145			  3 0 0x80000000 0x00800000>;
146
147		flash@0,0 {
148			compatible = "cfi-flash";
149			reg = <0 0 0x00800000>;
150			bank-width = <4>;
151			device-width = <2>;
152			#size-cells = <1>;
153			#address-cells = <1>;
154			partition@0 {
155				label = "DTS";
156				reg = <0x0 0x00100000>;
157			};
158			partition@100000 {
159				label = "Kernel";
160				reg = <0x100000 0x00200000>;
161			};
162			partition@300000 {
163				label = "RootFS";
164				reg = <0x00300000 0x00200000>;
165			};
166			partition@500000 {
167				label = "user";
168				reg = <0x00500000 0x00200000>;
169			};
170			partition@700000 {
171				label = "U-Boot";
172				reg = <0x00700000 0x00040000>;
173			};
174			partition@740000 {
175				label = "Env";
176				reg = <0x00740000 0x00020000>;
177			};
178			partition@760000 {
179				label = "red. Env";
180				reg = <0x00760000 0x00020000>;
181			};
182			partition@780000 {
183				label = "reserve";
184				reg = <0x00780000 0x00080000>;
185			};
186		};
187
188		simple100: gpio-controller-100@3,600100 {
189			compatible = "manroland,mucmc52-aux-gpio";
190			reg = <3 0x00600100 0x1>;
191			gpio-controller;
192			#gpio-cells = <2>;
193		};
194		simple104: gpio-controller-104@3,600104 {
195			compatible = "manroland,mucmc52-aux-gpio";
196			reg = <3 0x00600104 0x1>;
197			gpio-controller;
198			#gpio-cells = <2>;
199		};
200		simple200: gpio-controller-200@3,600200 {
201			compatible = "manroland,mucmc52-aux-gpio";
202			reg = <3 0x00600200 0x1>;
203			gpio-controller;
204			#gpio-cells = <2>;
205		};
206		simple201: gpio-controller-201@3,600201 {
207			compatible = "manroland,mucmc52-aux-gpio";
208			reg = <3 0x00600201 0x1>;
209			gpio-controller;
210			#gpio-cells = <2>;
211		};
212		simple202: gpio-controller-202@3,600202 {
213			compatible = "manroland,mucmc52-aux-gpio";
214			reg = <3 0x00600202 0x1>;
215			gpio-controller;
216			#gpio-cells = <2>;
217		};
218		simple203: gpio-controller-203@3,600203 {
219			compatible = "manroland,mucmc52-aux-gpio";
220			reg = <3 0x00600203 0x1>;
221			gpio-controller;
222			#gpio-cells = <2>;
223		};
224		simple204: gpio-controller-204@3,600204 {
225			compatible = "manroland,mucmc52-aux-gpio";
226			reg = <3 0x00600204 0x1>;
227			gpio-controller;
228			#gpio-cells = <2>;
229		};
230		simple206: gpio-controller-206@3,600206 {
231			compatible = "manroland,mucmc52-aux-gpio";
232			reg = <3 0x00600206 0x1>;
233			gpio-controller;
234			#gpio-cells = <2>;
235		};
236		simple207: gpio-controller-207@3,600207 {
237			compatible = "manroland,mucmc52-aux-gpio";
238			reg = <3 0x00600207 0x1>;
239			gpio-controller;
240			#gpio-cells = <2>;
241		};
242		simple20f: gpio-controller-20f@3,60020f {
243			compatible = "manroland,mucmc52-aux-gpio";
244			reg = <3 0x0060020f 0x1>;
245			gpio-controller;
246			#gpio-cells = <2>;
247		};
248
249	};
250};