ARM: imx: pico-imx8mq: Add support for Technexion Pico-iMX8MQ
[oweals/u-boot.git] / arch / arm / dts / at91-sama5d2_xplained.dts
index 37094376b9b6c9d5f17018ef606c8743692788ee..7f0d1696ba3eccf6b72db0e6b460998502433235 100644 (file)
@@ -7,9 +7,22 @@
        compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5";
 
        chosen {
+               u-boot,dm-pre-reloc;
                stdout-path = &uart1;
        };
 
+       onewire_tm: onewire {
+               gpios = <&pioA PIN_PB0 0>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_onewire_tm_default>;
+               status = "okay";
+
+               w1_eeprom: w1_eeprom@0 {
+                       compatible = "maxim,ds24b33";
+                       status = "okay";
+               };
+       };
+
        ahb {
                usb1: ohci@00400000 {
                        num-ports = <3>;
@@ -28,6 +41,7 @@
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_sdmmc0_cmd_dat_default &pinctrl_sdmmc0_ck_cd_default>;
                        status = "okay";
+                       u-boot,dm-pre-reloc;
                };
 
                sdmmc1: sdio-host@b0000000 {
                        pinctrl-names = "default";
                        pinctrl-0 = <&pinctrl_sdmmc1_cmd_dat_default &pinctrl_sdmmc1_ck_cd_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 = "atmel,sama5d2-qspi-flash";
+                                       compatible = "jedec,spi-nor";
                                        reg = <0>;
-                                       #address-cells = <1>;
-                                       #size-cells = <1>;
-                                       pinctrl-names = "default";
-                                       pinctrl-0 = <&pinctrl_qspi0_default>;
                                        spi-max-frequency = <83000000>;
-
-                                       partition@00000000 {
-                                               label = "boot";
-                                               reg = <0x00000000 0x00c00000>;
-                                       };
-
-                                       partition@00c00000 {
-                                               label = "rootfs";
-                                               reg = <0x00c00000 0x00000000>;
-                                       };
+                                       spi-rx-bus-width = <4>;
+                                       spi-tx-bus-width = <4>;
+                                       u-boot,dm-pre-reloc;
                                };
                        };
 
                                pinctrl-names = "default";
                                pinctrl-0 = <&pinctrl_spi0_default>;
                                status = "okay";
+                               u-boot,dm-pre-reloc;
 
                                spi_flash@0 {
-                                       compatible = "spi-flash";
+                                       compatible = "jedec,spi-nor";
                                        reg = <0>;
                                        spi-max-frequency = <50000000>;
+                                       u-boot,dm-pre-reloc;
                                };
                        };
 
                                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: gpio@fc038000 {
                                                bias-disable;
                                        };
 
+                                       pinctrl_lcd_base: pinctrl_lcd_base {
+                                               pinmux = <PIN_PC30__LCDVSYNC>,
+                                                       <PIN_PC31__LCDHSYNC>,
+                                                       <PIN_PD1__LCDDEN>,
+                                                       <PIN_PD0__LCDPCK>;
+                                               bias-disable;
+                                       };
+
+                                       pinctrl_lcd_pwm: pinctrl_lcd_pwm {
+                                               pinmux = <PIN_PC28__LCDPWM>;
+                                               bias-disable;
+                                       };
+
+                                       pinctrl_lcd_rgb666: pinctrl_lcd_rgb666 {
+                                               pinmux = <PIN_PC10__LCDDAT2>,
+                                                       <PIN_PC11__LCDDAT3>,
+                                                       <PIN_PC12__LCDDAT4>,
+                                                       <PIN_PC13__LCDDAT5>,
+                                                       <PIN_PC14__LCDDAT6>,
+                                                       <PIN_PC15__LCDDAT7>,
+                                                       <PIN_PC16__LCDDAT10>,
+                                                       <PIN_PC17__LCDDAT11>,
+                                                       <PIN_PC18__LCDDAT12>,
+                                                       <PIN_PC19__LCDDAT13>,
+                                                       <PIN_PC20__LCDDAT14>,
+                                                       <PIN_PC21__LCDDAT15>,
+                                                       <PIN_PC22__LCDDAT18>,
+                                                       <PIN_PC23__LCDDAT19>,
+                                                       <PIN_PC24__LCDDAT20>,
+                                                       <PIN_PC25__LCDDAT21>,
+                                                       <PIN_PC26__LCDDAT22>,
+                                                       <PIN_PC27__LCDDAT23>;
+                                               bias-disable;
+                                       };
+
                                        pinctrl_macb0_phy_irq: macb0_phy_irq {
                                                pinmux = <PIN_PC9__GPIO>;
                                                bias-disable;
                                                bias-disable;
                                        };
 
-                                       pinctrl_qspi0_default: qspi0_default {
+                                       pinctrl_qspi0_sck_cs_default: qspi0_sck_cs_default {
                                                pinmux = <PIN_PA22__QSPI0_SCK>,
-                                                        <PIN_PA23__QSPI0_CS>,
-                                                        <PIN_PA24__QSPI0_IO0>,
+                                                        <PIN_PA23__QSPI0_CS>;
+                                               bias-disable;
+                                               u-boot,dm-pre-reloc;
+                                       };
+
+                                       pinctrl_qspi0_dat_default: qspi0_dat_default {
+                                               pinmux = <PIN_PA24__QSPI0_IO0>,
                                                         <PIN_PA25__QSPI0_IO1>,
                                                         <PIN_PA26__QSPI0_IO2>,
                                                         <PIN_PA27__QSPI0_IO3>;
-                                               bias-disable;
+                                               bias-pull-up;
+                                               u-boot,dm-pre-reloc;
                                        };
 
                                        pinctrl_sdmmc0_cmd_dat_default: sdmmc0_cmd_dat_default {
                                                         <PIN_PA8__SDMMC0_DAT6>,
                                                         <PIN_PA9__SDMMC0_DAT7>;
                                                bias-pull-up;
+                                               u-boot,dm-pre-reloc;
                                        };
 
                                        pinctrl_sdmmc0_ck_cd_default: sdmmc0_ck_cd_default {
                                                         <PIN_PA11__SDMMC0_VDDSEL>,
                                                         <PIN_PA13__SDMMC0_CD>;
                                                bias-disable;
+                                               u-boot,dm-pre-reloc;
                                        };
 
                                        pinctrl_sdmmc1_cmd_dat_default: sdmmc1_cmd_dat_default {
                                                         <PIN_PA20__SDMMC1_DAT2>,
                                                         <PIN_PA21__SDMMC1_DAT3>;
                                                bias-pull-up;
+                                               u-boot,dm-pre-reloc;
                                        };
 
                                        pinctrl_sdmmc1_ck_cd_default: sdmmc1_ck_cd_default {
                                                pinmux = <PIN_PA22__SDMMC1_CK>,
                                                         <PIN_PA30__SDMMC1_CD>;
                                                bias-disable;
+                                               u-boot,dm-pre-reloc;
                                        };
 
                                        pinctrl_spi0_default: spi0_default {
                                                         <PIN_PA15__SPI0_MOSI>,
                                                         <PIN_PA16__SPI0_MISO>;
                                                bias-disable;
+                                               u-boot,dm-pre-reloc;
                                        };
 
                                        pinctrl_uart1_default: uart1_default {
                                                pinmux = <PIN_PD2__URXD1>,
                                                         <PIN_PD3__UTXD1>;
                                                bias-disable;
+                                               u-boot,dm-pre-reloc;
                                        };
 
                                        pinctrl_usb_default: usb_default {
                                                pinmux = <PIN_PA31__GPIO>;
                                                bias-disable;
                                        };
+
+                                       pinctrl_onewire_tm_default: onewire_tm_default {
+                                               pinmux = <PIN_PB0__GPIO>;
+                                               bias-pull-up;
+                                       };
                                };
                        };
                };