Linux Audio

Check our new training course

Loading...
v6.2
  1// SPDX-License-Identifier: GPL-2.0-or-later
  2/*
  3 * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module
  4 *
  5 *  Copyright (C) 2012 Atmel,
  6 *                2012 Nicolas Ferre <nicolas.ferre@atmel.com>
 
 
  7 */
  8
  9/ {
 10	memory@20000000 {
 11		reg = <0x20000000 0x8000000>;
 12	};
 13
 14	clocks {
 15		slow_xtal {
 16			clock-frequency = <32768>;
 17		};
 18
 19		main_xtal {
 
 20			clock-frequency = <12000000>;
 21		};
 22	};
 23
 24	ahb {
 25		apb {
 26			tcb0: timer@f8008000 {
 27				timer@0 {
 28					compatible = "atmel,tcb-timer";
 29					reg = <0>;
 30				};
 31
 32				timer@1 {
 33					compatible = "atmel,tcb-timer";
 34					reg = <1>;
 35				};
 36			};
 37
 38			pinctrl@fffff400 {
 39				1wire_cm {
 40					pinctrl_1wire_cm: 1wire_cm-0 {
 41						atmel,pins = <AT91_PIOB 18 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>; /* PB18 multidrive, conflicts with led */
 42					};
 43				};
 44			};
 45
 46			rtc@fffffeb0 {
 47				status = "okay";
 
 48			};
 49		};
 50
 51		ebi: ebi@10000000 {
 52			pinctrl-0 = <&pinctrl_ebi_addr_nand
 53				     &pinctrl_ebi_data_0_7>;
 54			pinctrl-names = "default";
 55			status = "okay";
 56
 57			nand_controller: nand-controller {
 58				status = "okay";
 59				pinctrl-0 = <&pinctrl_nand_oe_we
 60					     &pinctrl_nand_cs
 61					     &pinctrl_nand_rb>;
 62				pinctrl-names = "default";
 63
 64				nand@3 {
 65					reg = <0x3 0x0 0x800000>;
 66					rb-gpios = <&pioD 5 GPIO_ACTIVE_HIGH>;
 67					cs-gpios = <&pioD 4 GPIO_ACTIVE_HIGH>;
 68					nand-bus-width = <8>;
 69					nand-ecc-mode = "hw";
 70					nand-ecc-strength = <2>;
 71					nand-ecc-step-size = <512>;
 72					nand-on-flash-bbt;
 73					label = "atmel_nand";
 74
 75					partitions {
 76						compatible = "fixed-partitions";
 77						#address-cells = <1>;
 78						#size-cells = <1>;
 79
 80						at91bootstrap@0 {
 81							label = "at91bootstrap";
 82							reg = <0x0 0x40000>;
 83						};
 84
 85						uboot@40000 {
 86							label = "u-boot";
 87							reg = <0x40000 0xc0000>;
 88						};
 89
 90						ubootenvred@100000 {
 91							label = "U-Boot Env Redundant";
 92							reg = <0x100000 0x40000>;
 93						};
 94
 95						ubootenv@140000 {
 96							label = "U-Boot Env";
 97							reg = <0x140000 0x40000>;
 98						};
 99
100						dtb@180000 {
101							label = "device tree";
102							reg = <0x180000 0x80000>;
103						};
104
105						kernel@200000 {
106							label = "kernel";
107							reg = <0x200000 0x600000>;
108						};
109
110						rootfs@800000 {
111							label = "rootfs";
112							reg = <0x800000 0x0f800000>;
113						};
114					};
115				};
116			};
117		};
118	};
119
120	leds {
121		compatible = "gpio-leds";
122
123		pb18 {
124			label = "pb18";
125			gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
126			linux,default-trigger = "heartbeat";
127		};
128
129		pd21 {
130			label = "pd21";
131			gpios = <&pioD 21 GPIO_ACTIVE_HIGH>;
132		};
133	};
134
135	1wire_cm {
136		compatible = "w1-gpio";
137		gpios = <&pioB 18 GPIO_ACTIVE_HIGH>;
138		linux,open-drain;
139		pinctrl-names = "default";
140		pinctrl-0 = <&pinctrl_1wire_cm>;
141		status = "okay";
142	};
143
144};
v3.5.6
 
 1/*
 2 * at91sam9x5cm.dtsi - Device Tree Include file for AT91SAM9x5 CPU Module
 3 *
 4 *  Copyright (C) 2012 Atmel,
 5 *                2012 Nicolas Ferre <nicolas.ferre@atmel.com>
 6 *
 7 * Licensed under GPLv2 or later.
 8 */
 9
10/ {
11	memory {
12		reg = <0x20000000 0x8000000>;
13	};
14
15	clocks {
16		#address-cells = <1>;
17		#size-cells = <1>;
18		ranges;
19
20		main_clock: clock@0 {
21			compatible = "atmel,osc", "fixed-clock";
22			clock-frequency = <12000000>;
23		};
24	};
25
26	ahb {
27		nand0: nand@40000000 {
28			nand-bus-width = <8>;
29			nand-ecc-mode = "soft";
30			nand-on-flash-bbt;
31			status = "okay";
32
33			at91bootstrap@0 {
34				label = "at91bootstrap";
35				reg = <0x0 0x40000>;
 
 
36			};
37
38			uboot@40000 {
39				label = "u-boot";
40				reg = <0x40000 0x80000>;
 
 
 
41			};
42
43			ubootenv@c0000 {
44				label = "U-Boot Env";
45				reg = <0xc0000 0x140000>;
46			};
 
47
48			kernel@200000 {
49				label = "kernel";
50				reg = <0x200000 0x600000>;
51			};
 
52
53			rootfs@800000 {
54				label = "rootfs";
55				reg = <0x800000 0x1f800000>;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56			};
57		};
58	};
59
60	leds {
61		compatible = "gpio-leds";
62
63		pb18 {
64			label = "pb18";
65			gpios = <&pioB 18 1>;
66			linux,default-trigger = "heartbeat";
67		};
68
69		pd21 {
70			label = "pd21";
71			gpios = <&pioD 21 0>;
72		};
73	};
 
 
 
 
 
 
 
 
 
 
74};