/dts-v1/; #include #include "sama5d2.dtsi" #include "sama5d2-pinfunc.h" / { model = "Atmel SAMA5D2 Xplained"; compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5"; chosen { u-boot,dm-pre-reloc; stdout-path = &uart1; }; memory { reg = <0x20000000 0x20000000>; }; onewire_tm: onewire { gpios = <&pioA PIN_PB0 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_onewire_tm_default>; status = "okay"; w1_eeprom: w1_eeprom@0 { compatible = "maxim,ds24b33"; status = "okay"; }; }; ahb { usb1: ohci@400000 { num-ports = <3>; atmel,vbus-gpio = <&pioA 42 0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usb_default>; status = "okay"; }; usb2: ehci@500000 { status = "okay"; }; sdmmc0: sdio-host@a0000000 { bus-width = <8>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc0_default>; status = "okay"; u-boot,dm-pre-reloc; }; sdmmc1: sdio-host@b0000000 { bus-width = <4>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sdmmc1_default>; status = "okay"; /* conflict with qspi0 */ u-boot,dm-pre-reloc; }; apb { hlcdc: hlcdc@f0000000 { atmel,vl-bpix = <4>; atmel,guard-time = <1>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_lcd_base &pinctrl_lcd_pwm &pinctrl_lcd_rgb666>; status = "okay"; u-boot,dm-pre-reloc; display-timings { u-boot,dm-pre-reloc; 480x272 { clock-frequency = <9000000>; hactive = <480>; vactive = <272>; hsync-len = <41>; hfront-porch = <2>; hback-porch = <2>; vfront-porch = <2>; vback-porch = <2>; vsync-len = <11>; u-boot,dm-pre-reloc; }; }; }; qspi0: spi@f0020000 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_qspi0_sck_cs_default &pinctrl_qspi0_dat_default>; status = "okay"; u-boot,dm-pre-reloc; flash@0 { compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <83000000>; spi-rx-bus-width = <4>; spi-tx-bus-width = <4>; u-boot,dm-pre-reloc; }; }; spi0: spi@f8000000 { cs-gpios = <&pioA 17 0>, <0>, <0>, <0>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_spi0_default>; status = "okay"; u-boot,dm-pre-reloc; spi_flash@0 { compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <50000000>; u-boot,dm-pre-reloc; }; }; macb0: ethernet@f8008000 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_macb0_rmii &pinctrl_macb0_phy_irq>; phy-mode = "rmii"; status = "okay"; ethernet-phy@1 { reg = <0x1>; }; }; uart1: serial@f8020000 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1_default>; status = "okay"; u-boot,dm-pre-reloc; }; i2c1: i2c@fc028000 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c1_default>; status = "okay"; i2c_eeprom: i2c_eeprom@5c { compatible = "atmel,24mac402"; reg = <0x5c>; }; }; pioA: pinctrl@fc038000 { pinctrl_i2c1_default: i2c1_default { pinmux = , ; bias-disable; }; pinctrl_lcd_base: pinctrl_lcd_base { pinmux = , , , ; bias-disable; }; pinctrl_lcd_pwm: pinctrl_lcd_pwm { pinmux = ; bias-disable; }; pinctrl_lcd_rgb666: pinctrl_lcd_rgb666 { pinmux = , , , , , , , , , , , , , , , , , ; bias-disable; }; pinctrl_macb0_phy_irq: macb0_phy_irq { pinmux = ; bias-disable; }; pinctrl_macb0_rmii: macb0_rmii { pinmux = , , , , , , , , , ; bias-disable; }; pinctrl_qspi0_sck_cs_default: qspi0_sck_cs_default { pinmux = , ; bias-disable; u-boot,dm-pre-reloc; }; pinctrl_qspi0_dat_default: qspi0_dat_default { pinmux = , , , ; bias-pull-up; u-boot,dm-pre-reloc; }; pinctrl_sdmmc0_default: sdmmc0_default { cmd_dat { pinmux = , , , , , , , , ; bias-pull-up; u-boot,dm-pre-reloc; }; ck_cd_default { pinmux = , , , ; bias-disable; u-boot,dm-pre-reloc; }; }; pinctrl_sdmmc1_default: sdmmc1_default { cmd_dat { pinmux = , , , , ; bias-pull-up; u-boot,dm-pre-reloc; }; ck_cd { pinmux = , ; bias-disable; u-boot,dm-pre-reloc; }; }; pinctrl_spi0_default: spi0_default { pinmux = , , ; bias-disable; u-boot,dm-pre-reloc; }; pinctrl_uart1_default: uart1_default { pinmux = , ; bias-disable; u-boot,dm-pre-reloc; }; pinctrl_usb_default: usb_default { pinmux = ; bias-disable; }; pinctrl_usba_vbus: usba_vbus { pinmux = ; bias-disable; }; pinctrl_onewire_tm_default: onewire_tm_default { pinmux = ; bias-pull-up; }; }; }; }; };