Linux Audio

Check our new training course

Linux kernel drivers training

Mar 31-Apr 9, 2025, special US time zones
Register
Loading...
v4.17
  1/*
  2 * tny_a9260_common.dtsi - Device Tree file for Caloa TNY A926x board
  3 *
  4 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
  5 *
  6 * Licensed under GPLv2.
  7 */
  8
  9/ {
 10	chosen {
 11		bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock6 rw rootfstype=ubifs";
 12	};
 13
 14	memory {
 15		reg = <0x20000000 0x4000000>;
 16	};
 17
 18	clocks {
 19		slow_xtal {
 20			clock-frequency = <32768>;
 21		};
 22
 23		main_xtal {
 24			clock-frequency = <12000000>;
 25		};
 26	};
 27
 28	ahb {
 29		apb {
 30			tcb0: timer@fffa0000 {
 31				timer@0 {
 32					compatible = "atmel,tcb-timer";
 33					reg = <0>, <1>;
 34				};
 35
 36				timer@2 {
 37					compatible = "atmel,tcb-timer";
 38					reg = <2>;
 39				};
 40			};
 41
 42			dbgu: serial@fffff200 {
 43				status = "okay";
 44			};
 45		};
 46
 47		ebi: ebi@10000000 {
 
 
 
 48			status = "okay";
 49
 50			nand_controller: nand-controller {
 51				status = "okay";
 52				pinctrl-0 = <&pinctrl_nand_cs &pinctrl_nand_rb>;
 53				pinctrl-names = "default";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 54
 55				nand@3 {
 56					reg = <0x3 0x0 0x800000>;
 57					rb-gpios = <&pioC 13 GPIO_ACTIVE_HIGH>;
 58					cs-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
 59					nand-bus-width = <8>;
 60					nand-ecc-mode = "soft";
 61					nand-on-flash-bbt;
 62					label = "atmel_nand";
 63
 64					partitions {
 65						compatible = "fixed-partitions";
 66						#address-cells = <1>;
 67						#size-cells = <1>;
 68
 69						at91bootstrap@0 {
 70							label = "at91bootstrap";
 71							reg = <0x0 0x20000>;
 72						};
 73
 74						barebox@20000 {
 75							label = "barebox";
 76							reg = <0x20000 0x40000>;
 77						};
 78
 79						bareboxenv@60000 {
 80							label = "bareboxenv";
 81							reg = <0x60000 0x20000>;
 82						};
 83
 84						bareboxenv2@80000 {
 85							label = "bareboxenv2";
 86							reg = <0x80000 0x20000>;
 87						};
 88
 89						oftree@80000 {
 90							label = "oftree";
 91							reg = <0xa0000 0x20000>;
 92						};
 93
 94						kernel@a0000 {
 95							label = "kernel";
 96							reg = <0xc0000 0x400000>;
 97						};
 98
 99						rootfs@4a0000 {
100							label = "rootfs";
101							reg = <0x4c0000 0x7800000>;
102						};
103
104						data@7ca0000 {
105							label = "data";
106							reg = <0x7cc0000 0x8340000>;
107						};
108					};
109				};
110			};
111		};
112	};
113};
v4.10.11
 1/*
 2 * tny_a9260_common.dtsi - Device Tree file for Caloa TNY A926x board
 3 *
 4 * Copyright (C) 2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
 5 *
 6 * Licensed under GPLv2.
 7 */
 8
 9/ {
10	chosen {
11		bootargs = "mem=64M console=ttyS0,115200 root=/dev/mtdblock6 rw rootfstype=ubifs";
12	};
13
14	memory {
15		reg = <0x20000000 0x4000000>;
16	};
17
18	clocks {
19		slow_xtal {
20			clock-frequency = <32768>;
21		};
22
23		main_xtal {
24			clock-frequency = <12000000>;
25		};
26	};
27
28	ahb {
29		apb {
 
 
 
 
 
 
 
 
 
 
 
 
30			dbgu: serial@fffff200 {
31				status = "okay";
32			};
33		};
34
35		nand0: nand@40000000 {
36			nand-bus-width = <8>;
37			nand-ecc-mode = "soft";
38			nand-on-flash-bbt;
39			status = "okay";
40
41			at91bootstrap@0 {
42				label = "at91bootstrap";
43				reg = <0x0 0x20000>;
44			};
45
46			barebox@20000 {
47				label = "barebox";
48				reg = <0x20000 0x40000>;
49			};
50
51			bareboxenv@60000 {
52				label = "bareboxenv";
53				reg = <0x60000 0x20000>;
54			};
55
56			bareboxenv2@80000 {
57				label = "bareboxenv2";
58				reg = <0x80000 0x20000>;
59			};
60
61			oftree@80000 {
62				label = "oftree";
63				reg = <0xa0000 0x20000>;
64			};
65
66			kernel@a0000 {
67				label = "kernel";
68				reg = <0xc0000 0x400000>;
69			};
70
71			rootfs@4a0000 {
72				label = "rootfs";
73				reg = <0x4c0000 0x7800000>;
74			};
75
76			data@7ca0000 {
77				label = "data";
78				reg = <0x7cc0000 0x8340000>;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79			};
80		};
81	};
82};