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>;
85 compatible = "atmel,sama5d2-qspi-flash";
89 pinctrl-names = "default";
90 pinctrl-0 = <&pinctrl_qspi0_default>;
91 spi-max-frequency = <83000000>;
95 reg = <0x00000000 0x00c00000>;
100 reg = <0x00c00000 0x00000000>;
106 cs-gpios = <&pioA 17 0>, <0>, <0>, <0>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&pinctrl_spi0_default>;
113 compatible = "jedec,spi-nor";
115 spi-max-frequency = <50000000>;
120 macb0: ethernet@f8008000 {
121 pinctrl-names = "default";
122 pinctrl-0 = <&pinctrl_macb0_rmii &pinctrl_macb0_phy_irq>;
131 uart1: serial@f8020000 {
132 pinctrl-names = "default";
133 pinctrl-0 = <&pinctrl_uart1_default>;
139 pinctrl-names = "default";
140 pinctrl-0 = <&pinctrl_i2c1_default>;
143 i2c_eeprom: i2c_eeprom@5c {
144 compatible = "atmel,24mac402";
149 pioA: gpio@fc038000 {
151 pinctrl_i2c1_default: i2c1_default {
152 pinmux = <PIN_PD4__TWD1>,
157 pinctrl_lcd_base: pinctrl_lcd_base {
158 pinmux = <PIN_PC30__LCDVSYNC>,
159 <PIN_PC31__LCDHSYNC>,
165 pinctrl_lcd_pwm: pinctrl_lcd_pwm {
166 pinmux = <PIN_PC28__LCDPWM>;
170 pinctrl_lcd_rgb666: pinctrl_lcd_rgb666 {
171 pinmux = <PIN_PC10__LCDDAT2>,
177 <PIN_PC16__LCDDAT10>,
178 <PIN_PC17__LCDDAT11>,
179 <PIN_PC18__LCDDAT12>,
180 <PIN_PC19__LCDDAT13>,
181 <PIN_PC20__LCDDAT14>,
182 <PIN_PC21__LCDDAT15>,
183 <PIN_PC22__LCDDAT18>,
184 <PIN_PC23__LCDDAT19>,
185 <PIN_PC24__LCDDAT20>,
186 <PIN_PC25__LCDDAT21>,
187 <PIN_PC26__LCDDAT22>,
188 <PIN_PC27__LCDDAT23>;
192 pinctrl_macb0_phy_irq: macb0_phy_irq {
193 pinmux = <PIN_PC9__GPIO>;
197 pinctrl_macb0_rmii: macb0_rmii {
198 pinmux = <PIN_PB14__GTXCK>,
211 pinctrl_qspi0_default: qspi0_default {
212 pinmux = <PIN_PA22__QSPI0_SCK>,
213 <PIN_PA23__QSPI0_CS>,
214 <PIN_PA24__QSPI0_IO0>,
215 <PIN_PA25__QSPI0_IO1>,
216 <PIN_PA26__QSPI0_IO2>,
217 <PIN_PA27__QSPI0_IO3>;
221 pinctrl_sdmmc0_cmd_dat_default: sdmmc0_cmd_dat_default {
222 pinmux = <PIN_PA1__SDMMC0_CMD>,
223 <PIN_PA2__SDMMC0_DAT0>,
224 <PIN_PA3__SDMMC0_DAT1>,
225 <PIN_PA4__SDMMC0_DAT2>,
226 <PIN_PA5__SDMMC0_DAT3>,
227 <PIN_PA6__SDMMC0_DAT4>,
228 <PIN_PA7__SDMMC0_DAT5>,
229 <PIN_PA8__SDMMC0_DAT6>,
230 <PIN_PA9__SDMMC0_DAT7>;
235 pinctrl_sdmmc0_ck_cd_default: sdmmc0_ck_cd_default {
236 pinmux = <PIN_PA0__SDMMC0_CK>,
237 <PIN_PA10__SDMMC0_RSTN>,
238 <PIN_PA11__SDMMC0_VDDSEL>,
239 <PIN_PA13__SDMMC0_CD>;
244 pinctrl_sdmmc1_cmd_dat_default: sdmmc1_cmd_dat_default {
245 pinmux = <PIN_PA28__SDMMC1_CMD>,
246 <PIN_PA18__SDMMC1_DAT0>,
247 <PIN_PA19__SDMMC1_DAT1>,
248 <PIN_PA20__SDMMC1_DAT2>,
249 <PIN_PA21__SDMMC1_DAT3>;
254 pinctrl_sdmmc1_ck_cd_default: sdmmc1_ck_cd_default {
255 pinmux = <PIN_PA22__SDMMC1_CK>,
256 <PIN_PA30__SDMMC1_CD>;
261 pinctrl_spi0_default: spi0_default {
262 pinmux = <PIN_PA14__SPI0_SPCK>,
263 <PIN_PA15__SPI0_MOSI>,
264 <PIN_PA16__SPI0_MISO>;
269 pinctrl_uart1_default: uart1_default {
270 pinmux = <PIN_PD2__URXD1>,
276 pinctrl_usb_default: usb_default {
277 pinmux = <PIN_PB10__GPIO>;
281 pinctrl_usba_vbus: usba_vbus {
282 pinmux = <PIN_PA31__GPIO>;
286 pinctrl_onewire_tm_default: onewire_tm_default {
287 pinmux = <PIN_PB0__GPIO>;