Linux Audio

Check our new training course

Loading...
v4.17
 
  1/*
  2 * sama5d3xcm.dtsi - Device Tree Include file for SAMA5D3x CPU Module
  3 *
  4 *  Copyright (C) 2013 Atmel,
  5 *                2013 Ludovic Desroches <ludovic.desroches@atmel.com>
  6 *
  7 * Licensed under GPLv2 or later.
  8 */
  9
 10/ {
 11	compatible = "atmel,sama5d3xcm", "atmel,sama5d3", "atmel,sama5";
 12
 13	chosen {
 14		bootargs = "rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs";
 15		stdout-path = "serial0:115200n8";
 16	};
 17
 18	memory {
 19		reg = <0x20000000 0x20000000>;
 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			spi0: spi@f0004000 {
 35				cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
 36			};
 37
 38			tcb0: timer@f0010000 {
 39				timer@0 {
 40					compatible = "atmel,tcb-timer";
 41					reg = <0>;
 42				};
 43
 44				timer@1 {
 45					compatible = "atmel,tcb-timer";
 46					reg = <1>;
 47				};
 48			};
 49		};
 50
 51		ebi@10000000 {
 52			pinctrl-0 = <&pinctrl_ebi_addr &pinctrl_ebi_cs0>;
 53			pinctr-name = "default";
 54			status = "okay";
 55
 56			nor: flash@0,0 {
 57				compatible = "cfi-flash";
 58				linux,mtd-name = "physmap-flash.0";
 59				#address-cells = <1>;
 60				#size-cells = <1>;
 61				reg = <0x0 0x0 0x1000000>;
 62				bank-width = <2>;
 63				atmel,smc-read-mode = "nrd";
 64				atmel,smc-write-mode = "nwe";
 65				atmel,smc-bus-width = <16>;
 66				atmel,smc-ncs-rd-setup-ns = <0>;
 67				atmel,smc-ncs-wr-setup-ns = <0>;
 68				atmel,smc-nwe-setup-ns = <8>;
 69				atmel,smc-nrd-setup-ns = <16>;
 70				atmel,smc-ncs-rd-pulse-ns = <84>;
 71				atmel,smc-ncs-wr-pulse-ns = <84>;
 72				atmel,smc-nrd-pulse-ns = <76>;
 73				atmel,smc-nwe-pulse-ns = <76>;
 74				atmel,smc-nrd-cycle-ns = <107>;
 75				atmel,smc-nwe-cycle-ns = <84>;
 76				atmel,smc-tdf-ns = <16>;
 77			};
 78
 79			nand_controller: nand-controller {
 80				status = "okay";
 81
 82				nand@3 {
 83					reg = <0x3 0x0 0x2>;
 84					atmel,rb = <0>;
 85					nand-ecc-mode = "hw";
 86					nand-ecc-strength = <4>;
 87					nand-ecc-step-size = <512>;
 88					nand-on-flash-bbt;
 89					label = "atmel_nand";
 90
 91					partitions {
 92						compatible = "fixed-partitions";
 93						#address-cells = <1>;
 94						#size-cells = <1>;
 95
 96						at91bootstrap@0 {
 97							label = "at91bootstrap";
 98							reg = <0x0 0x40000>;
 99						};
100
101						bootloader@40000 {
102							label = "bootloader";
103							reg = <0x40000 0x80000>;
104						};
105
106						bootloaderenv@c0000 {
107							label = "bootloader env";
108							reg = <0xc0000 0xc0000>;
109						};
110
111						dtb@180000 {
112							label = "device tree";
113							reg = <0x180000 0x80000>;
114						};
115
116						kernel@200000 {
117							label = "kernel";
118							reg = <0x200000 0x600000>;
119						};
120
121						rootfs@800000 {
122							label = "rootfs";
123							reg = <0x800000 0x0f800000>;
124						};
125					};
126				};
127			};
128		};
129	};
130
131	leds {
132		compatible = "gpio-leds";
133
134		d2 {
135			label = "d2";
136			gpios = <&pioE 25 GPIO_ACTIVE_LOW>;	/* PE25, conflicts with A25, RXD2 */
137			linux,default-trigger = "heartbeat";
138		};
139	};
140};
v5.14.15
  1// SPDX-License-Identifier: GPL-2.0-or-later
  2/*
  3 * sama5d3xcm.dtsi - Device Tree Include file for SAMA5D3x CPU Module
  4 *
  5 *  Copyright (C) 2013 Atmel,
  6 *                2013 Ludovic Desroches <ludovic.desroches@atmel.com>
 
 
  7 */
  8
  9/ {
 10	compatible = "atmel,sama5d3xcm", "atmel,sama5d3", "atmel,sama5";
 11
 12	chosen {
 13		bootargs = "rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs";
 14		stdout-path = "serial0:115200n8";
 15	};
 16
 17	memory@20000000 {
 18		reg = <0x20000000 0x20000000>;
 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			spi0: spi@f0004000 {
 34				cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
 35			};
 36
 37			tcb0: timer@f0010000 {
 38				timer@0 {
 39					compatible = "atmel,tcb-timer";
 40					reg = <0>;
 41				};
 42
 43				timer@1 {
 44					compatible = "atmel,tcb-timer";
 45					reg = <1>;
 46				};
 47			};
 48		};
 49
 50		ebi@10000000 {
 51			pinctrl-0 = <&pinctrl_ebi_addr &pinctrl_ebi_cs0>;
 52			pinctr-name = "default";
 53			status = "okay";
 54
 55			nor: flash@0,0 {
 56				compatible = "cfi-flash";
 57				linux,mtd-name = "physmap-flash.0";
 58				#address-cells = <1>;
 59				#size-cells = <1>;
 60				reg = <0x0 0x0 0x1000000>;
 61				bank-width = <2>;
 62				atmel,smc-read-mode = "nrd";
 63				atmel,smc-write-mode = "nwe";
 64				atmel,smc-bus-width = <16>;
 65				atmel,smc-ncs-rd-setup-ns = <0>;
 66				atmel,smc-ncs-wr-setup-ns = <0>;
 67				atmel,smc-nwe-setup-ns = <8>;
 68				atmel,smc-nrd-setup-ns = <16>;
 69				atmel,smc-ncs-rd-pulse-ns = <84>;
 70				atmel,smc-ncs-wr-pulse-ns = <84>;
 71				atmel,smc-nrd-pulse-ns = <76>;
 72				atmel,smc-nwe-pulse-ns = <76>;
 73				atmel,smc-nrd-cycle-ns = <107>;
 74				atmel,smc-nwe-cycle-ns = <84>;
 75				atmel,smc-tdf-ns = <16>;
 76			};
 77
 78			nand_controller: nand-controller {
 79				status = "okay";
 80
 81				nand@3 {
 82					reg = <0x3 0x0 0x2>;
 83					atmel,rb = <0>;
 84					nand-ecc-mode = "hw";
 85					nand-ecc-strength = <4>;
 86					nand-ecc-step-size = <512>;
 87					nand-on-flash-bbt;
 88					label = "atmel_nand";
 89
 90					partitions {
 91						compatible = "fixed-partitions";
 92						#address-cells = <1>;
 93						#size-cells = <1>;
 94
 95						at91bootstrap@0 {
 96							label = "at91bootstrap";
 97							reg = <0x0 0x40000>;
 98						};
 99
100						bootloader@40000 {
101							label = "bootloader";
102							reg = <0x40000 0x80000>;
103						};
104
105						bootloaderenv@c0000 {
106							label = "bootloader env";
107							reg = <0xc0000 0xc0000>;
108						};
109
110						dtb@180000 {
111							label = "device tree";
112							reg = <0x180000 0x80000>;
113						};
114
115						kernel@200000 {
116							label = "kernel";
117							reg = <0x200000 0x600000>;
118						};
119
120						rootfs@800000 {
121							label = "rootfs";
122							reg = <0x800000 0x0f800000>;
123						};
124					};
125				};
126			};
127		};
128	};
129
130	leds {
131		compatible = "gpio-leds";
132
133		d2 {
134			label = "d2";
135			gpios = <&pioE 25 GPIO_ACTIVE_LOW>;	/* PE25, conflicts with A25, RXD2 */
136			linux,default-trigger = "heartbeat";
137		};
138	};
139};