Linux Audio

Check our new training course

Linux BSP upgrade and security maintenance

Need help to get security updates for your Linux BSP?
Loading...
v6.2
  1// SPDX-License-Identifier: GPL-2.0-only
  2/*
  3 * at91-qil_a9260.dts - Device Tree file for Calao QIL A9260 board
  4 *
  5 * Copyright (C) 2011-2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
 
 
  6 */
  7/dts-v1/;
  8#include "at91sam9260.dtsi"
  9/ {
 10	model = "Calao QIL A9260";
 11	compatible = "calao,qil-a9260", "atmel,at91sam9260", "atmel,at91sam9";
 12
 13	chosen {
 14		bootargs = "console=ttyS0,115200";
 15	};
 16
 17	memory@20000000 {
 18		reg = <0x20000000 0x4000000>;
 19	};
 20
 21	clocks {
 22		slow_xtal {
 23			clock-frequency = <32768>;
 24		};
 25
 26		main_xtal {
 27			clock-frequency = <12000000>;
 28		};
 29	};
 30
 31	ahb {
 32		apb {
 33			tcb0: timer@fffa0000 {
 34				timer@0 {
 35					compatible = "atmel,tcb-timer";
 36					reg = <0>, <1>;
 37				};
 38
 39				timer@2 {
 40					compatible = "atmel,tcb-timer";
 41					reg = <2>;
 42				};
 43			};
 44
 45			usb1: gadget@fffa4000 {
 46				atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
 47				status = "okay";
 48			};
 49
 50			mmc0: mmc@fffa8000 {
 51				pinctrl-0 = <
 52					&pinctrl_mmc0_clk
 53					&pinctrl_mmc0_slot0_cmd_dat0
 54					&pinctrl_mmc0_slot0_dat1_3>;
 55				pinctrl-names = "default";
 56				status = "okay";
 57				slot@0 {
 58					reg = <0>;
 59					bus-width = <4>;
 60				};
 61			};
 62
 63			usart0: serial@fffb0000 {
 64				pinctrl-0 =
 65					<&pinctrl_usart0
 66					 &pinctrl_usart0_rts
 67					 &pinctrl_usart0_cts
 68					 &pinctrl_usart0_dtr_dsr
 69					 &pinctrl_usart0_dcd
 70					 &pinctrl_usart0_ri>;
 71				status = "okay";
 72			};
 73
 74			usart1: serial@fffb4000 {
 75				pinctrl-0 =
 76					<&pinctrl_usart1
 77					 &pinctrl_usart1_rts
 78					 &pinctrl_usart1_cts>;
 79				status = "okay";
 80			};
 81
 82			usart2: serial@fffb8000 {
 83				pinctrl-0 =
 84					<&pinctrl_usart2
 85					 &pinctrl_usart2_rts
 86					 &pinctrl_usart2_cts>;
 87				status = "okay";
 88			};
 89
 90			macb0: ethernet@fffc4000 {
 91				phy-mode = "rmii";
 92				status = "okay";
 93			};
 94
 95			spi0: spi@fffc8000 {
 96				status = "okay";
 97				cs-gpios = <&pioA 3 GPIO_ACTIVE_HIGH>;
 98
 99				m41t94@0 {
100					compatible = "st,m41t94";
101					reg = <0>;
102					spi-max-frequency = <1000000>;
103				};
104
105			};
106
107			dbgu: serial@fffff200 {
108				status = "okay";
109			};
110
111			shdwc@fffffd10 {
112				atmel,wakeup-counter = <10>;
113				atmel,wakeup-rtt-timer;
114			};
115		};
116
117		usb0: ohci@500000 {
118			num-ports = <2>;
119			status = "okay";
120		};
121
122		ebi: ebi@10000000 {
 
 
 
123			status = "okay";
124
125			nand_controller: nand-controller {
126				status = "okay";
127				pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
128				pinctrl-names = "default";
129
130				nand@3 {
131					reg = <0x3 0x0 0x800000>;
132					rb-gpios = <&pioC 13 GPIO_ACTIVE_HIGH>;
133					cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
134					nand-bus-width = <8>;
135					nand-ecc-mode = "soft";
136					nand-on-flash-bbt;
137					label = "atmel_nand";
138
139					partitions {
140						compatible = "fixed-partitions";
141						#address-cells = <1>;
142						#size-cells = <1>;
143
144						at91bootstrap@0 {
145							label = "at91bootstrap";
146							reg = <0x0 0x20000>;
147						};
148
149						barebox@20000 {
150							label = "barebox";
151							reg = <0x20000 0x40000>;
152						};
153
154						bareboxenv@60000 {
155							label = "bareboxenv";
156							reg = <0x60000 0x20000>;
157						};
158
159						bareboxenv2@80000 {
160							label = "bareboxenv2";
161							reg = <0x80000 0x20000>;
162						};
163
164						oftree@a0000 {
165							label = "oftree";
166							reg = <0xa0000 0x20000>;
167						};
168
169						kernel@c0000 {
170							label = "kernel";
171							reg = <0xc0000 0x400000>;
172						};
173
174						rootfs@4c0000 {
175							label = "rootfs";
176							reg = <0x4c0000 0x7800000>;
177						};
178
179						data@7cc0000 {
180							label = "data";
181							reg = <0x7cc0000 0x8340000>;
182						};
183					};
184				};
185			};
186		};
187	};
188
189	leds {
190		compatible = "gpio-leds";
191
192		user_led {
193			label = "user_led";
194			gpios = <&pioB 21 GPIO_ACTIVE_HIGH>;
195			linux,default-trigger = "heartbeat";
196		};
197	};
198
199	gpio_keys {
200		compatible = "gpio-keys";
 
 
201
202		button-user {
203			label = "user_pb";
204			gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
205			linux,code = <28>;
206			wakeup-source;
207		};
208	};
209
210	i2c-gpio-0 {
211		status = "okay";
212	};
213};
v4.10.11
 
  1/*
  2 * at91-qil_a9260.dts - Device Tree file for Calao QIL A9260 board
  3 *
  4 * Copyright (C) 2011-2013 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  5 *
  6 * Licensed under GPLv2.
  7 */
  8/dts-v1/;
  9#include "at91sam9260.dtsi"
 10/ {
 11	model = "Calao QIL A9260";
 12	compatible = "calao,qil-a9260", "atmel,at91sam9260", "atmel,at91sam9";
 13
 14	chosen {
 15		bootargs = "console=ttyS0,115200";
 16	};
 17
 18	memory {
 19		reg = <0x20000000 0x4000000>;
 20	};
 21
 22	clocks {
 23		slow_xtal {
 24			clock-frequency = <32768>;
 25		};
 26
 27		main_xtal {
 28			clock-frequency = <12000000>;
 29		};
 30	};
 31
 32	ahb {
 33		apb {
 
 
 
 
 
 
 
 
 
 
 
 
 34			usb1: gadget@fffa4000 {
 35				atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
 36				status = "okay";
 37			};
 38
 39			mmc0: mmc@fffa8000 {
 40				pinctrl-0 = <
 41					&pinctrl_mmc0_clk
 42					&pinctrl_mmc0_slot0_cmd_dat0
 43					&pinctrl_mmc0_slot0_dat1_3>;
 
 44				status = "okay";
 45				slot@0 {
 46					reg = <0>;
 47					bus-width = <4>;
 48				};
 49			};
 50
 51			usart0: serial@fffb0000 {
 52				pinctrl-0 =
 53					<&pinctrl_usart0
 54					 &pinctrl_usart0_rts
 55					 &pinctrl_usart0_cts
 56					 &pinctrl_usart0_dtr_dsr
 57					 &pinctrl_usart0_dcd
 58					 &pinctrl_usart0_ri>;
 59				status = "okay";
 60			};
 61
 62			usart1: serial@fffb4000 {
 63				pinctrl-0 =
 64					<&pinctrl_usart1
 65					 &pinctrl_usart1_rts
 66					 &pinctrl_usart1_cts>;
 67				status = "okay";
 68			};
 69
 70			usart2: serial@fffb8000 {
 71				pinctrl-0 =
 72					<&pinctrl_usart2
 73					 &pinctrl_usart2_rts
 74					 &pinctrl_usart2_cts>;
 75				status = "okay";
 76			};
 77
 78			macb0: ethernet@fffc4000 {
 79				phy-mode = "rmii";
 80				status = "okay";
 81			};
 82
 83			spi0: spi@fffc8000 {
 84				status = "okay";
 85				cs-gpios = <&pioA 3 GPIO_ACTIVE_HIGH>;
 86
 87				m41t94@0 {
 88					compatible = "st,m41t94";
 89					reg = <0>;
 90					spi-max-frequency = <1000000>;
 91				};
 92
 93			};
 94
 95			dbgu: serial@fffff200 {
 96				status = "okay";
 97			};
 98
 99			shdwc@fffffd10 {
100				atmel,wakeup-counter = <10>;
101				atmel,wakeup-rtt-timer;
102			};
103		};
104
105		usb0: ohci@500000 {
106			num-ports = <2>;
107			status = "okay";
108		};
109
110		nand0: nand@40000000 {
111			nand-bus-width = <8>;
112			nand-ecc-mode = "soft";
113			nand-on-flash-bbt;
114			status = "okay";
115
116			at91bootstrap@0 {
117				label = "at91bootstrap";
118				reg = <0x0 0x20000>;
119			};
120
121			barebox@20000 {
122				label = "barebox";
123				reg = <0x20000 0x40000>;
124			};
125
126			bareboxenv@60000 {
127				label = "bareboxenv";
128				reg = <0x60000 0x20000>;
129			};
130
131			bareboxenv2@80000 {
132				label = "bareboxenv2";
133				reg = <0x80000 0x20000>;
134			};
135
136			oftree@a0000 {
137				label = "oftree";
138				reg = <0xa0000 0x20000>;
139			};
140
141			kernel@c0000 {
142				label = "kernel";
143				reg = <0xc0000 0x400000>;
144			};
145
146			rootfs@4c0000 {
147				label = "rootfs";
148				reg = <0x4c0000 0x7800000>;
149			};
150
151			data@7cc0000 {
152				label = "data";
153				reg = <0x7cc0000 0x8340000>;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
154			};
155		};
156	};
157
158	leds {
159		compatible = "gpio-leds";
160
161		user_led {
162			label = "user_led";
163			gpios = <&pioB 21 GPIO_ACTIVE_HIGH>;
164			linux,default-trigger = "heartbeat";
165		};
166	};
167
168	gpio_keys {
169		compatible = "gpio-keys";
170		#address-cells = <1>;
171		#size-cells = <0>;
172
173		user_pb {
174			label = "user_pb";
175			gpios = <&pioB 10 GPIO_ACTIVE_LOW>;
176			linux,code = <28>;
177			wakeup-source;
178		};
179	};
180
181	i2c-gpio-0 {
182		status = "okay";
183	};
184};