imx8: Replace SC_R_LAST with SC_R_NONE in DTB
[oweals/u-boot.git] / arch / arm / dts / at91-sama5d2_xplained.dts
index 01326a1ee03472250d4e2367e974b9064b362f4c..7f0d1696ba3eccf6b72db0e6b460998502433235 100644 (file)
                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>;
                        };
 
                        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;
                                };
                        };
 
                                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;
                                                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 {
                                                pinmux = <PIN_PA31__GPIO>;
                                                bias-disable;
                                        };
+
+                                       pinctrl_onewire_tm_default: onewire_tm_default {
+                                               pinmux = <PIN_PB0__GPIO>;
+                                               bias-pull-up;
+                                       };
                                };
                        };
                };