~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/microchip/at91-kizbox2-common.dtsi

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * at91-kizbox2_common.dtsi - Device Tree Include file for
  4  * Overkiz Kizbox 2 family SoC
  5  *
  6  * Copyright (C) 2014-2018 Overkiz SAS
  7  *
  8  * Authors: Antoine Aubert <a.aubert@overkiz.com>
  9  *          Gaël Portay <g.portay@overkiz.com>
 10  *          Kévin Raymond <k.raymond@overkiz.com>
 11  */
 12 #include "sama5d31.dtsi"
 13 
 14 / {
 15         chosen {
 16                 bootargs = "ubi.mtd=ubi";
 17                 stdout-path = &dbgu;
 18         };
 19 
 20         memory@20000000 {
 21                 reg = <0x20000000 0x10000000>;
 22         };
 23 
 24         clocks {
 25                 slow_xtal {
 26                         clock-frequency = <32768>;
 27                 };
 28 
 29                 main_xtal {
 30                         clock-frequency = <12000000>;
 31                 };
 32         };
 33 
 34         gpio-keys {
 35                 compatible = "gpio-keys";
 36 
 37                 button-prog {
 38                         label = "PB_PROG";
 39                         gpios = <&pioE 27 GPIO_ACTIVE_LOW>;
 40                         linux,code = <0x102>;
 41                         wakeup-source;
 42                 };
 43 
 44                 button-reset {
 45                         label = "PB_RST";
 46                         gpios = <&pioE 29 GPIO_ACTIVE_LOW>;
 47                         linux,code = <0x100>;
 48                         wakeup-source;
 49                 };
 50 
 51                 button-user {
 52                         label = "PB_USER";
 53                         gpios = <&pioE 31 GPIO_ACTIVE_HIGH>;
 54                         linux,code = <0x101>;
 55                         wakeup-source;
 56                 };
 57         };
 58 
 59         led-controller {
 60                 compatible = "pwm-leds";
 61 
 62                 led-1 {
 63                         label = "pwm:blue:user";
 64                         pwms = <&pwm0 2 10000000 0>;
 65                         max-brightness = <255>;
 66                         linux,default-trigger = "none";
 67                 };
 68 
 69                 led-2 {
 70                         label = "pwm:green:user";
 71                         pwms = <&pwm0 1 10000000 0>;
 72                         max-brightness = <255>;
 73                         linux,default-trigger = "default-on";
 74                 };
 75 
 76                 led-3 {
 77                         label = "pwm:red:user";
 78                         pwms = <&pwm0 0 10000000 0>;
 79                         max-brightness = <255>;
 80                         linux,default-trigger = "default-on";
 81                 };
 82         };
 83 };
 84 
 85 &i2c1 {
 86         status = "okay";
 87 
 88         pmic: act8865@5b {
 89                 compatible = "active-semi,act8865";
 90                 reg = <0x5b>;
 91                 status = "okay";
 92 
 93                 regulators {
 94                         vcc_1v8_reg: DCDC_REG1 {
 95                                 regulator-name = "VCC_1V8";
 96                                 regulator-min-microvolt = <1800000>;
 97                                 regulator-max-microvolt = <1800000>;
 98                                 regulator-always-on;
 99                         };
100 
101                         vcc_1v2_reg: DCDC_REG2 {
102                                 regulator-name = "VCC_1V2";
103                                 regulator-min-microvolt = <1200000>;
104                                 regulator-max-microvolt = <1200000>;
105                                 regulator-always-on;
106                         };
107 
108                         vcc_3v3_reg: DCDC_REG3 {
109                                 regulator-name = "VCC_3V3";
110                                 regulator-min-microvolt = <3300000>;
111                                 regulator-max-microvolt = <3300000>;
112                                 regulator-always-on;
113                         };
114 
115                         vddfuse_reg: LDO_REG1 {
116                                 regulator-name = "FUSE_2V5";
117                                 regulator-min-microvolt = <2500000>;
118                                 regulator-max-microvolt = <2500000>;
119                         };
120 
121                         vddana_reg: LDO_REG2 {
122                                 regulator-name = "VDDANA";
123                                 regulator-min-microvolt = <3300000>;
124                                 regulator-max-microvolt = <3300000>;
125                                 regulator-always-on;
126                         };
127 
128                         vled_reg: LDO_REG3 {
129                                 regulator-name = "VLED";
130                                 regulator-min-microvolt = <3300000>;
131                                 regulator-max-microvolt = <3300000>;
132                                 regulator-always-on;
133                         };
134 
135                         v3v8_rf_reg: LDO_REG4 {
136                                 regulator-name = "V3V8_RF";
137                                 regulator-min-microvolt = <3800000>;
138                                 regulator-max-microvolt = <3800000>;
139                                 regulator-always-on;
140                         };
141                 };
142         };
143 };
144 
145 &usart0 {
146         atmel,use-dma-rx;
147         atmel,use-dma-tx;
148         status = "disabled";
149 };
150 
151 &usart1 {
152         atmel,use-dma-rx;
153         atmel,use-dma-tx;
154         status = "disabled";
155 };
156 
157 &usart2 {
158         atmel,use-dma-rx;
159         atmel,use-dma-tx;
160         status = "disabled";
161 };
162 
163 &pwm0 {
164         pinctrl-names = "default";
165         pinctrl-0 = <&pinctrl_pwm0_pwmh0_1
166                      &pinctrl_pwm0_pwmh1_1
167                      &pinctrl_pwm0_pwmh2_0>;
168         status = "okay";
169 };
170 
171 &adc0 {
172         atmel,adc-vref = <3333>;
173         status = "okay";
174 };
175 
176 &macb1 {
177         phy-mode = "rmii";
178         status = "okay";
179 };
180 
181 &dbgu {
182         status = "okay";
183 };
184 
185 &watchdog {
186         status = "okay";
187 };
188 
189 &ebi {
190         pinctrl-0 = <&pinctrl_ebi_nand_addr>;
191         pinctrl-names = "default";
192         status = "okay";
193 };
194 
195 &nand_controller {
196         status = "okay";
197 
198         nand@3 {
199                 reg = <0x3 0x0 0x2>;
200                 atmel,rb = <0>;
201                 nand-bus-width = <8>;
202                 nand-ecc-mode = "hw";
203                 nand-ecc-strength = <4>;
204                 nand-ecc-step-size = <512>;
205                 nand-on-flash-bbt;
206                 label = "atmel_nand";
207 
208                 partitions {
209                         compatible = "fixed-partitions";
210                         #address-cells = <1>;
211                         #size-cells = <1>;
212 
213                         bootstrap@0 {
214                                 label = "bootstrap";
215                                 reg = <0x0 0x20000>;
216                         };
217 
218                         ubi@20000 {
219                                 label = "ubi";
220                                 reg = <0x20000 0x7fe0000>;
221                         };
222                 };
223         };
224 };
225 
226 &usb1 {
227         status = "okay";
228 };
229 
230 &usb2 {
231         status = "okay";
232 };
233 
234 /* WMBUS (inverted with IO in the latest schematic) */
235 &pinctrl_usart0 {
236         atmel,pins =
237                 <AT91_PIOD 17 AT91_PERIPH_A AT91_PINCTRL_NONE
238                  AT91_PIOD 18 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
239                  AT91_PIOE 2 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>;
240 };
241 
242 /* RTS */
243 &pinctrl_usart1 {
244         atmel,pins =
245                 <AT91_PIOB 28 AT91_PERIPH_A AT91_PINCTRL_NONE
246                  AT91_PIOB 29 AT91_PERIPH_A AT91_PINCTRL_PULL_UP
247                  AT91_PIOE 7 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>;
248 };
249 
250 /* IO (inverted with WMBUS in the latest schematic) */
251 &pinctrl_usart2 {
252         atmel,pins =
253                 <AT91_PIOE 25 AT91_PERIPH_B AT91_PINCTRL_NONE
254                  AT91_PIOE 26 AT91_PERIPH_B AT91_PINCTRL_PULL_UP
255                  AT91_PIOE 8 AT91_PERIPH_GPIO AT91_PINCTRL_MULTI_DRIVE>;
256 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php