2 #include "sama5d2.dtsi"
3 #include "sama5d2-pinfunc.h"
6 model = "Atmel SAMA5D2 Xplained";
7 compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5";
15 gpios = <&pioA PIN_PB0 0>;
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_onewire_tm_default>;
20 w1_eeprom: w1_eeprom@0 {
21 compatible = "maxim,ds24b33";
29 atmel,vbus-gpio = <&pioA 42 0>;
30 pinctrl-names = "default";
31 pinctrl-0 = <&pinctrl_usb_default>;
39 sdmmc0: sdio-host@a0000000 {
41 pinctrl-names = "default";
42 pinctrl-0 = <&pinctrl_sdmmc0_cmd_dat_default &pinctrl_sdmmc0_ck_cd_default>;
47 sdmmc1: sdio-host@b0000000 {
49 pinctrl-names = "default";
50 pinctrl-0 = <&pinctrl_sdmmc1_cmd_dat_default &pinctrl_sdmmc1_ck_cd_default>;
51 status = "okay"; /* conflict with qspi0 */
56 hlcdc: hlcdc@f0000000 {
58 atmel,guard-time = <1>;
59 pinctrl-names = "default";
60 pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_pwm &pinctrl_lcd_rgb666>;
67 clock-frequency = <9000000>;
82 pinctrl-names = "default";
83 pinctrl-0 = <&pinctrl_qspi0_sck_cs_default &pinctrl_qspi0_dat_default>;
88 compatible = "jedec,spi-nor";
90 spi-max-frequency = <83000000>;
91 spi-rx-bus-width = <4>;
92 spi-tx-bus-width = <4>;
98 cs-gpios = <&pioA 17 0>, <0>, <0>, <0>;
99 pinctrl-names = "default";
100 pinctrl-0 = <&pinctrl_spi0_default>;
105 compatible = "jedec,spi-nor";
107 spi-max-frequency = <50000000>;
112 macb0: ethernet@f8008000 {
113 pinctrl-names = "default";
114 pinctrl-0 = <&pinctrl_macb0_rmii &pinctrl_macb0_phy_irq>;
123 uart1: serial@f8020000 {
124 pinctrl-names = "default";
125 pinctrl-0 = <&pinctrl_uart1_default>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&pinctrl_i2c1_default>;
135 i2c_eeprom: i2c_eeprom@5c {
136 compatible = "atmel,24mac402";
141 pioA: gpio@fc038000 {
143 pinctrl_i2c1_default: i2c1_default {
144 pinmux = <PIN_PD4__TWD1>,
149 pinctrl_lcd_base: pinctrl_lcd_base {
150 pinmux = <PIN_PC30__LCDVSYNC>,
151 <PIN_PC31__LCDHSYNC>,
157 pinctrl_lcd_pwm: pinctrl_lcd_pwm {
158 pinmux = <PIN_PC28__LCDPWM>;
162 pinctrl_lcd_rgb666: pinctrl_lcd_rgb666 {
163 pinmux = <PIN_PC10__LCDDAT2>,
169 <PIN_PC16__LCDDAT10>,
170 <PIN_PC17__LCDDAT11>,
171 <PIN_PC18__LCDDAT12>,
172 <PIN_PC19__LCDDAT13>,
173 <PIN_PC20__LCDDAT14>,
174 <PIN_PC21__LCDDAT15>,
175 <PIN_PC22__LCDDAT18>,
176 <PIN_PC23__LCDDAT19>,
177 <PIN_PC24__LCDDAT20>,
178 <PIN_PC25__LCDDAT21>,
179 <PIN_PC26__LCDDAT22>,
180 <PIN_PC27__LCDDAT23>;
184 pinctrl_macb0_phy_irq: macb0_phy_irq {
185 pinmux = <PIN_PC9__GPIO>;
189 pinctrl_macb0_rmii: macb0_rmii {
190 pinmux = <PIN_PB14__GTXCK>,
203 pinctrl_qspi0_sck_cs_default: qspi0_sck_cs_default {
204 pinmux = <PIN_PA22__QSPI0_SCK>,
205 <PIN_PA23__QSPI0_CS>;
210 pinctrl_qspi0_dat_default: qspi0_dat_default {
211 pinmux = <PIN_PA24__QSPI0_IO0>,
212 <PIN_PA25__QSPI0_IO1>,
213 <PIN_PA26__QSPI0_IO2>,
214 <PIN_PA27__QSPI0_IO3>;
219 pinctrl_sdmmc0_cmd_dat_default: sdmmc0_cmd_dat_default {
220 pinmux = <PIN_PA1__SDMMC0_CMD>,
221 <PIN_PA2__SDMMC0_DAT0>,
222 <PIN_PA3__SDMMC0_DAT1>,
223 <PIN_PA4__SDMMC0_DAT2>,
224 <PIN_PA5__SDMMC0_DAT3>,
225 <PIN_PA6__SDMMC0_DAT4>,
226 <PIN_PA7__SDMMC0_DAT5>,
227 <PIN_PA8__SDMMC0_DAT6>,
228 <PIN_PA9__SDMMC0_DAT7>;
233 pinctrl_sdmmc0_ck_cd_default: sdmmc0_ck_cd_default {
234 pinmux = <PIN_PA0__SDMMC0_CK>,
235 <PIN_PA10__SDMMC0_RSTN>,
236 <PIN_PA11__SDMMC0_VDDSEL>,
237 <PIN_PA13__SDMMC0_CD>;
242 pinctrl_sdmmc1_cmd_dat_default: sdmmc1_cmd_dat_default {
243 pinmux = <PIN_PA28__SDMMC1_CMD>,
244 <PIN_PA18__SDMMC1_DAT0>,
245 <PIN_PA19__SDMMC1_DAT1>,
246 <PIN_PA20__SDMMC1_DAT2>,
247 <PIN_PA21__SDMMC1_DAT3>;
252 pinctrl_sdmmc1_ck_cd_default: sdmmc1_ck_cd_default {
253 pinmux = <PIN_PA22__SDMMC1_CK>,
254 <PIN_PA30__SDMMC1_CD>;
259 pinctrl_spi0_default: spi0_default {
260 pinmux = <PIN_PA14__SPI0_SPCK>,
261 <PIN_PA15__SPI0_MOSI>,
262 <PIN_PA16__SPI0_MISO>;
267 pinctrl_uart1_default: uart1_default {
268 pinmux = <PIN_PD2__URXD1>,
274 pinctrl_usb_default: usb_default {
275 pinmux = <PIN_PB10__GPIO>;
279 pinctrl_usba_vbus: usba_vbus {
280 pinmux = <PIN_PA31__GPIO>;
284 pinctrl_onewire_tm_default: onewire_tm_default {
285 pinmux = <PIN_PB0__GPIO>;