Linux Audio

Check our new training course

Loading...
v6.2
  1// SPDX-License-Identifier: GPL-2.0-or-later
  2/*
  3 * DTS file for SPEAr320 Evaluation Baord
  4 *
  5 * Copyright 2012 Viresh Kumar <vireshk@kernel.org>
 
 
 
 
 
 
 
  6 */
  7
  8/dts-v1/;
  9/include/ "spear320.dtsi"
 10
 11/ {
 12	model = "ST SPEAr320 Evaluation Board";
 13	compatible = "st,spear320-evb", "st,spear320";
 14	#address-cells = <1>;
 15	#size-cells = <1>;
 16
 17	memory {
 18		reg = <0 0x40000000>;
 19	};
 20
 21	ahb {
 22		pinmux@b3000000 {
 23			st,pinmux-mode = <4>;
 24			pinctrl-names = "default";
 25			pinctrl-0 = <&state_default>;
 26
 27			state_default: pinmux {
 28				i2c0 {
 29					st,pins = "i2c0_grp";
 30					st,function = "i2c0";
 31				};
 32				mii0 {
 33					st,pins = "mii0_grp";
 34					st,function = "mii0";
 35				};
 36				ssp0 {
 37					st,pins = "ssp0_grp";
 38					st,function = "ssp0";
 39				};
 40				uart0 {
 41					st,pins = "uart0_grp";
 42					st,function = "uart0";
 43				};
 44				sdhci {
 45					st,pins = "sdhci_cd_51_grp";
 46					st,function = "sdhci";
 47				};
 48				i2s {
 49					st,pins = "i2s_grp";
 50					st,function = "i2s";
 51				};
 52				uart1 {
 53					st,pins = "uart1_grp";
 54					st,function = "uart1";
 55				};
 56				uart2 {
 57					st,pins = "uart2_grp";
 58					st,function = "uart2";
 59				};
 60				can0 {
 61					st,pins = "can0_grp";
 62					st,function = "can0";
 63				};
 64				can1 {
 65					st,pins = "can1_grp";
 66					st,function = "can1";
 67				};
 68				mii2 {
 69					st,pins = "mii2_grp";
 70					st,function = "mii2";
 71				};
 72				pwm0_1 {
 73					st,pins = "pwm0_1_pin_37_38_grp";
 74					st,function = "pwm0_1";
 75				};
 
 
 
 
 76			};
 77		};
 78
 
 
 
 
 79		dma@fc400000 {
 80			status = "okay";
 81		};
 82
 83		fsmc: flash@4c000000 {
 84			status = "okay";
 85		};
 86
 87		gmac: eth@e0800000 {
 88			status = "okay";
 89		};
 90
 91		sdhci@70000000 {
 92			power-gpio = <&gpiopinctrl 61 1>;
 
 93			status = "okay";
 94		};
 95
 96		smi: flash@fc000000 {
 97			status = "okay";
 98			clock-rate = <50000000>;
 99
100			flash@f8000000 {
101				#address-cells = <1>;
102				#size-cells = <1>;
103				reg = <0xf8000000 0x800000>;
104				st,smi-fast-mode;
105
106				partition@0 {
107					label = "xloader";
108					reg = <0x0 0x10000>;
109				};
110				partition@10000 {
111					label = "u-boot";
112					reg = <0x10000 0x50000>;
113				};
114				partition@60000 {
115					label = "environment";
116					reg = <0x60000 0x10000>;
117				};
118				partition@70000 {
119					label = "dtb";
120					reg = <0x70000 0x10000>;
121				};
122				partition@80000 {
123					label = "linux";
124					reg = <0x80000 0x310000>;
125				};
126				partition@390000 {
127					label = "rootfs";
128					reg = <0x390000 0x0>;
129				};
130			};
131		};
132
133		spi0: spi@d0100000 {
134			status = "okay";
135		};
136
137		spi1: spi@a5000000 {
138			status = "okay";
139		};
140
141		spi2: spi@a6000000 {
142			status = "okay";
143		};
144
145		ehci@e1800000 {
146			status = "okay";
147		};
148
149		ohci@e1900000 {
150			status = "okay";
151		};
152
153		ohci@e2100000 {
154			status = "okay";
155		};
156
157		apb {
158			gpio0: gpio@fc980000 {
159			       status = "okay";
160			};
161
162			gpio@b3000000 {
163			       status = "okay";
164			};
165
166			i2c0: i2c@d0180000 {
167			       status = "okay";
168			};
169
170			i2c1: i2c@a7000000 {
171			       status = "okay";
172			};
173
174			rtc@fc900000 {
175			       status = "okay";
176			};
177
178			serial@d0000000 {
179			       status = "okay";
180				pinctrl-names = "default";
181				pinctrl-0 = <>;
182			};
183
184			serial@a3000000 {
185			       status = "okay";
186				pinctrl-names = "default";
187				pinctrl-0 = <>;
188			};
189
190			serial@a4000000 {
191			       status = "okay";
192				pinctrl-names = "default";
193				pinctrl-0 = <>;
194			};
195
196			wdt@fc880000 {
197			       status = "okay";
198			};
199		};
200	};
201};
v3.5.6
 
  1/*
  2 * DTS file for SPEAr320 Evaluation Baord
  3 *
  4 * Copyright 2012 Viresh Kumar <viresh.linux@gmail.com>
  5 *
  6 * The code contained herein is licensed under the GNU General Public
  7 * License. You may obtain a copy of the GNU General Public License
  8 * Version 2 or later at the following locations:
  9 *
 10 * http://www.opensource.org/licenses/gpl-license.html
 11 * http://www.gnu.org/copyleft/gpl.html
 12 */
 13
 14/dts-v1/;
 15/include/ "spear320.dtsi"
 16
 17/ {
 18	model = "ST SPEAr320 Evaluation Board";
 19	compatible = "st,spear320-evb", "st,spear320";
 20	#address-cells = <1>;
 21	#size-cells = <1>;
 22
 23	memory {
 24		reg = <0 0x40000000>;
 25	};
 26
 27	ahb {
 28		pinmux@b3000000 {
 29			st,pinmux-mode = <4>;
 30			pinctrl-names = "default";
 31			pinctrl-0 = <&state_default>;
 32
 33			state_default: pinmux {
 34				i2c0 {
 35					st,pins = "i2c0_grp";
 36					st,function = "i2c0";
 37				};
 38				mii0 {
 39					st,pins = "mii0_grp";
 40					st,function = "mii0";
 41				};
 42				ssp0 {
 43					st,pins = "ssp0_grp";
 44					st,function = "ssp0";
 45				};
 46				uart0 {
 47					st,pins = "uart0_grp";
 48					st,function = "uart0";
 49				};
 50				sdhci {
 51					st,pins = "sdhci_cd_51_grp";
 52					st,function = "sdhci";
 53				};
 54				i2s {
 55					st,pins = "i2s_grp";
 56					st,function = "i2s";
 57				};
 58				uart1 {
 59					st,pins = "uart1_grp";
 60					st,function = "uart1";
 61				};
 62				uart2 {
 63					st,pins = "uart2_grp";
 64					st,function = "uart2";
 65				};
 66				can0 {
 67					st,pins = "can0_grp";
 68					st,function = "can0";
 69				};
 70				can1 {
 71					st,pins = "can1_grp";
 72					st,function = "can1";
 73				};
 74				mii2 {
 75					st,pins = "mii2_grp";
 76					st,function = "mii2";
 77				};
 78				pwm0_1 {
 79					st,pins = "pwm0_1_pin_14_15_grp";
 80					st,function = "pwm0_1";
 81				};
 82				pwm2 {
 83					st,pins = "pwm2_pin_13_grp";
 84					st,function = "pwm2";
 85				};
 86			};
 87		};
 88
 89		clcd@90000000 {
 90			status = "okay";
 91		};
 92
 93		dma@fc400000 {
 94			status = "okay";
 95		};
 96
 97		fsmc: flash@4c000000 {
 98			status = "okay";
 99		};
100
101		gmac: eth@e0800000 {
102			status = "okay";
103		};
104
105		sdhci@70000000 {
106			power-gpio = <&gpio0 2 1>;
107			power_always_enb;
108			status = "okay";
109		};
110
111		smi: flash@fc000000 {
112			status = "okay";
113			clock-rate=<50000000>;
114
115			flash@f8000000 {
116				#address-cells = <1>;
117				#size-cells = <1>;
118				reg = <0xf8000000 0x800000>;
119				st,smi-fast-mode;
120
121				partition@0 {
122					label = "xloader";
123					reg = <0x0 0x10000>;
124				};
125				partition@10000 {
126					label = "u-boot";
127					reg = <0x10000 0x40000>;
128				};
129				partition@50000 {
 
 
 
 
 
 
 
 
130					label = "linux";
131					reg = <0x50000 0x2c0000>;
132				};
133				partition@310000 {
134					label = "rootfs";
135					reg = <0x310000 0x4f0000>;
136				};
137			};
138		};
139
140		spi0: spi@d0100000 {
141			status = "okay";
142		};
143
144		spi1: spi@a5000000 {
145			status = "okay";
146		};
147
148		spi2: spi@a6000000 {
149			status = "okay";
150		};
151
152		ehci@e1800000 {
153			status = "okay";
154		};
155
156		ohci@e1900000 {
157			status = "okay";
158		};
159
160		ohci@e2100000 {
161			status = "okay";
162		};
163
164		apb {
165			gpio0: gpio@fc980000 {
166			       status = "okay";
167			};
168
 
 
 
 
169			i2c0: i2c@d0180000 {
170			       status = "okay";
171			};
172
173			i2c1: i2c@a7000000 {
174			       status = "okay";
175			};
176
177			rtc@fc900000 {
178			       status = "okay";
179			};
180
181			serial@d0000000 {
182			       status = "okay";
 
 
183			};
184
185			serial@a3000000 {
186			       status = "okay";
 
 
187			};
188
189			serial@a4000000 {
190			       status = "okay";
 
 
191			};
192
193			wdt@fc880000 {
194			       status = "okay";
195			};
196		};
197	};
198};