Linux Audio

Check our new training course

Loading...
v6.2
  1// SPDX-License-Identifier: GPL-2.0-only
  2/*
  3 * usb_a9263.dts - Device Tree file for Caloa USB A9293 board
  4 *
  5 *  Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
 
 
  6 */
  7/dts-v1/;
  8#include "at91sam9263.dtsi"
  9
 10/ {
 11	model = "Calao TNY A9263";
 12	compatible = "atmel,tny-a9263", "atmel,at91sam9263", "atmel,at91sam9";
 13
 14	chosen {
 15		bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs";
 16	};
 17
 18	memory@20000000 {
 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			dbgu: serial@ffffee00 {
 35				status = "okay";
 36			};
 37
 38			tcb0: timer@fff7c000 {
 39				timer@0 {
 40					compatible = "atmel,tcb-timer";
 41					reg = <0>, <1>;
 42				};
 43
 44				timer@2 {
 45					compatible = "atmel,tcb-timer";
 46					reg = <2>;
 47				};
 48			};
 49
 50			usb1: gadget@fff78000 {
 51				atmel,vbus-gpio = <&pioB 11 GPIO_ACTIVE_HIGH>;
 52				status = "okay";
 53			};
 54		};
 55
 56		ebi0: ebi@10000000 {
 
 
 
 57			status = "okay";
 58
 59			nand_controller: nand-controller {
 60				status = "okay";
 61				pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
 62				pinctrl-names = "default";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 63
 64				nand@3 {
 65					reg = <0x3 0x0 0x800000>;
 66					rb-gpios = <&pioA 22 GPIO_ACTIVE_HIGH>;
 67					cs-gpios = <&pioA 15 GPIO_ACTIVE_HIGH>;
 68					nand-bus-width = <8>;
 69					nand-ecc-mode = "soft";
 70					nand-on-flash-bbt;
 71					label = "atmel_nand";
 72
 73					partitions {
 74						compatible = "fixed-partitions";
 75						#address-cells = <1>;
 76						#size-cells = <1>;
 77
 78						at91bootstrap@0 {
 79							label = "at91bootstrap";
 80							reg = <0x0 0x20000>;
 81						};
 82
 83						barebox@20000 {
 84							label = "barebox";
 85							reg = <0x20000 0x40000>;
 86						};
 87
 88						bareboxenv@60000 {
 89							label = "bareboxenv";
 90							reg = <0x60000 0x20000>;
 91						};
 92
 93						bareboxenv2@80000 {
 94							label = "bareboxenv2";
 95							reg = <0x80000 0x20000>;
 96						};
 97
 98						oftree@80000 {
 99							label = "oftree";
100							reg = <0xa0000 0x20000>;
101						};
102
103						kernel@a0000 {
104							label = "kernel";
105							reg = <0xc0000 0x400000>;
106						};
107
108						rootfs@4a0000 {
109							label = "rootfs";
110							reg = <0x4c0000 0x7800000>;
111						};
112
113						data@7ca0000 {
114							label = "data";
115							reg = <0x7cc0000 0x8340000>;
116						};
117					};
118				};
119			};
120		};
121	};
122
123	i2c-gpio-0 {
124		status = "okay";
125	};
126};
v3.5.6
 
 1/*
 2 * usb_a9263.dts - Device Tree file for Caloa USB A9293 board
 3 *
 4 *  Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
 5 *
 6 * Licensed under GPLv2 only
 7 */
 8/dts-v1/;
 9/include/ "at91sam9263.dtsi"
10
11/ {
12	model = "Calao TNY A9263";
13	compatible = "atmel,tny-a9263", "atmel,at91sam9263", "atmel,at91sam9";
14
15	chosen {
16		bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock5 rw rootfstype=ubifs";
17	};
18
19	memory {
20		reg = <0x20000000 0x4000000>;
21	};
22
23	clocks {
24		#address-cells = <1>;
25		#size-cells = <1>;
26		ranges;
27
28		main_clock: clock@0 {
29			compatible = "atmel,osc", "fixed-clock";
30			clock-frequency = <12000000>;
31		};
32	};
33
34	ahb {
35		apb {
36			dbgu: serial@ffffee00 {
37				status = "okay";
38			};
39
 
 
 
 
 
 
 
 
 
 
 
 
40			usb1: gadget@fff78000 {
41				atmel,vbus-gpio = <&pioB 11 0>;
42				status = "okay";
43			};
44		};
45
46		nand0: nand@40000000 {
47			nand-bus-width = <8>;
48			nand-ecc-mode = "soft";
49			nand-on-flash-bbt;
50			status = "okay";
51
52			at91bootstrap@0 {
53				label = "at91bootstrap";
54				reg = <0x0 0x20000>;
55			};
56
57			barebox@20000 {
58				label = "barebox";
59				reg = <0x20000 0x40000>;
60			};
61
62			bareboxenv@60000 {
63				label = "bareboxenv";
64				reg = <0x60000 0x20000>;
65			};
66
67			bareboxenv2@80000 {
68				label = "bareboxenv2";
69				reg = <0x80000 0x20000>;
70			};
71
72			oftree@80000 {
73				label = "oftree";
74				reg = <0xa0000 0x20000>;
75			};
76
77			kernel@a0000 {
78				label = "kernel";
79				reg = <0xc0000 0x400000>;
80			};
81
82			rootfs@4a0000 {
83				label = "rootfs";
84				reg = <0x4c0000 0x7800000>;
85			};
86
87			data@7ca0000 {
88				label = "data";
89				reg = <0x7cc0000 0x8340000>;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90			};
91		};
92	};
93
94	i2c@0 {
95		status = "okay";
96	};
97};