Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / arm / boot / dts / sama5d3xcm_cmp.dtsi
blob5579c955f1411e37485404777de35cc19767fc8d
1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /*
3  * sama5d3xcm_cmp.dtsi - Device Tree Include file for SAMA5D36 CMP CPU Module
4  *
5  *  Copyright (C) 2016 Atmel,
6  */
8 / {
9         compatible = "atmel,sama5d3xcm-cmp", "atmel,sama5d3", "atmel,sama5";
11         chosen {
12                 stdout-path = "serial0:115200n8";
13         };
15         memory@20000000 {
16                 reg = <0x20000000 0x20000000>;
17         };
19         clocks {
20                 slow_xtal {
21                         clock-frequency = <32768>;
22                 };
24                 main_xtal {
25                         clock-frequency = <12000000>;
26                 };
27         };
29         ahb {
30                 apb {
31                         spi0: spi@f0004000 {
32                                 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>;
33                         };
35                         tcb0: timer@f0010000 {
36                                 timer@0 {
37                                         compatible = "atmel,tcb-timer";
38                                         reg = <0>;
39                                 };
41                                 timer@1 {
42                                         compatible = "atmel,tcb-timer";
43                                         reg = <1>;
44                                 };
45                         };
47                         macb0: ethernet@f0028000 {
48                                 phy-mode = "rgmii";
49                                 #address-cells = <1>;
50                                 #size-cells = <0>;
52                                 ethernet-phy@1 {
53                                         reg = <0x1>;
54                                         interrupt-parent = <&pioB>;
55                                         interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
56                                         txen-skew-ps = <800>;
57                                         txc-skew-ps = <3000>;
58                                         rxdv-skew-ps = <400>;
59                                         rxc-skew-ps = <3000>;
60                                         rxd0-skew-ps = <400>;
61                                         rxd1-skew-ps = <400>;
62                                         rxd2-skew-ps = <400>;
63                                         rxd3-skew-ps = <400>;
64                                 };
66                                 ethernet-phy@7 {
67                                         reg = <0x7>;
68                                         interrupt-parent = <&pioB>;
69                                         interrupts = <25 IRQ_TYPE_EDGE_FALLING>;
70                                         txen-skew-ps = <800>;
71                                         txc-skew-ps = <3000>;
72                                         rxdv-skew-ps = <400>;
73                                         rxc-skew-ps = <3000>;
74                                         rxd0-skew-ps = <400>;
75                                         rxd1-skew-ps = <400>;
76                                         rxd2-skew-ps = <400>;
77                                         rxd3-skew-ps = <400>;
78                                 };
79                         };
81                         i2c1: i2c@f0018000 {
82                                 pmic: act8865@5b {
83                                         compatible = "active-semi,act8865";
84                                         reg = <0x5b>;
85                                         status = "disabled";
87                                         regulators {
88                                                 vcc_1v8_reg: DCDC_REG1 {
89                                                         regulator-name = "VCC_1V8";
90                                                         regulator-min-microvolt = <1800000>;
91                                                         regulator-max-microvolt = <1800000>;
92                                                         regulator-always-on;
93                                                 };
95                                                 vcc_1v2_reg: DCDC_REG2 {
96                                                         regulator-name = "VCC_1V2";
97                                                         regulator-min-microvolt = <1100000>;
98                                                         regulator-max-microvolt = <1300000>;
99                                                         regulator-always-on;
100                                                 };
102                                                 vcc_3v3_reg: DCDC_REG3 {
103                                                         regulator-name = "VCC_3V3";
104                                                         regulator-min-microvolt = <3300000>;
105                                                         regulator-max-microvolt = <3300000>;
106                                                         regulator-always-on;
107                                                 };
109                                                 vddana_reg: LDO_REG1 {
110                                                         regulator-name = "VDDANA";
111                                                         regulator-min-microvolt = <3300000>;
112                                                         regulator-max-microvolt = <3300000>;
113                                                         regulator-always-on;
114                                                 };
116                                                 vddfuse_reg: LDO_REG2 {
117                                                         regulator-name = "FUSE_2V5";
118                                                         regulator-min-microvolt = <2500000>;
119                                                         regulator-max-microvolt = <2500000>;
120                                                 };
121                                         };
122                                 };
123                         };
124                 };
126                 ebi: ebi@10000000 {
127                         pinctrl-0 = <&pinctrl_ebi_nand_addr>;
128                         pinctrl-names = "default";
129                         status = "okay";
131                         nand_controller: nand-controller {
132                                 status = "okay";
134                                 nand@3 {
135                                         reg = <0x3 0x0 0x2>;
136                                         atmel,rb = <0>;
137                                         nand-bus-width = <8>;
138                                         nand-ecc-mode = "hw";
139                                         nand-ecc-strength = <4>;
140                                         nand-ecc-step-size = <512>;
141                                         nand-on-flash-bbt;
142                                         label = "atmel_nand";
144                                         partitions {
145                                                 compatible = "fixed-partitions";
146                                                 #address-cells = <1>;
147                                                 #size-cells = <1>;
149                                                 at91bootstrap@0 {
150                                                         label = "at91bootstrap";
151                                                         reg = <0x0 0x40000>;
152                                                 };
154                                                 bootloader@40000 {
155                                                         label = "bootloader";
156                                                         reg = <0x40000 0x80000>;
157                                                 };
159                                                 bootloaderenv@c0000 {
160                                                         label = "bootloader env";
161                                                         reg = <0xc0000 0xc0000>;
162                                                 };
164                                                 dtb@180000 {
165                                                         label = "device tree";
166                                                         reg = <0x180000 0x80000>;
167                                                 };
169                                                 kernel@200000 {
170                                                         label = "kernel";
171                                                         reg = <0x200000 0x600000>;
172                                                 };
174                                                 rootfs@800000 {
175                                                         label = "rootfs";
176                                                         reg = <0x800000 0x0f800000>;
177                                                 };
178                                         };
179                                 };
180                         };
181                 };
182         };
184         leds {
185                 compatible = "gpio-leds";
187                 d2 {
188                         label = "d2";
189                         gpios = <&pioE 25 GPIO_ACTIVE_LOW>;
190                         linux,default-trigger = "heartbeat";
191                 };
192         };