]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sunxi: dts: arm: update devicetree files from Linux v6.2-rc2
authorAndre Przywara <andre.przywara@arm.com>
Thu, 12 Jan 2023 11:18:05 +0000 (11:18 +0000)
committerAndre Przywara <andre.przywara@arm.com>
Sun, 5 Mar 2023 23:33:13 +0000 (23:33 +0000)
Sync the devicetree files from the Linux kernel repo, v6.2-rc2.
This is covering the 32-bit SoCs, from arch/arm/boot/dts.

This enables some new devices for the F1C100s family, though this is of
little relevance to U-Boot itself.
The H3 gains the "phys" property for the first USB controller, which
prevents an error message when U-Boot's USB stack comes up, and allows
using this port in host mode.

As before, this omits the non-backwards compatible changes to the R_INTC
controller, to remain compatible with older kernels.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/dts/suniv-f1c100s.dtsi
arch/arm/dts/sunxi-bananapi-m2-plus.dtsi
arch/arm/dts/sunxi-h3-h5.dtsi
include/dt-bindings/clock/suniv-ccu-f1c100s.h

index 0edc1724407b38f01d6b3f20b15472cf90179093..9455d27e516eeeeeeded4d263b3fe7dac52f57af 100644 (file)
                                drive-strength = <30>;
                        };
 
+                       /omit-if-no-ref/
+                       i2c0_pd_pins: i2c0-pd-pins {
+                               pins = "PD0", "PD12";
+                               function = "i2c0";
+                       };
+
                        spi0_pc_pins: spi0-pc-pins {
                                pins = "PC0", "PC1", "PC2", "PC3";
                                function = "spi0";
                        };
                };
 
+               i2c0: i2c@1c27000 {
+                       compatible = "allwinner,suniv-f1c100s-i2c",
+                                    "allwinner,sun6i-a31-i2c";
+                       reg = <0x01c27000 0x400>;
+                       interrupts = <7>;
+                       clocks = <&ccu CLK_BUS_I2C0>;
+                       resets = <&ccu RST_BUS_I2C0>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
+               i2c1: i2c@1c27400 {
+                       compatible = "allwinner,suniv-f1c100s-i2c",
+                                    "allwinner,sun6i-a31-i2c";
+                       reg = <0x01c27400 0x400>;
+                       interrupts = <8>;
+                       clocks = <&ccu CLK_BUS_I2C1>;
+                       resets = <&ccu RST_BUS_I2C1>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
+               i2c2: i2c@1c27800 {
+                       compatible = "allwinner,suniv-f1c100s-i2c",
+                                    "allwinner,sun6i-a31-i2c";
+                       reg = <0x01c27800 0x400>;
+                       interrupts = <9>;
+                       clocks = <&ccu CLK_BUS_I2C2>;
+                       resets = <&ccu RST_BUS_I2C2>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
                timer@1c20c00 {
                        compatible = "allwinner,suniv-f1c100s-timer";
                        reg = <0x01c20c00 0x90>;
                        clocks = <&osc32k>;
                };
 
+               pwm: pwm@1c21000 {
+                       compatible = "allwinner,suniv-f1c100s-pwm",
+                                    "allwinner,sun7i-a20-pwm";
+                       reg = <0x01c21000 0x400>;
+                       clocks = <&osc24M>;
+                       #pwm-cells = <3>;
+                       status = "disabled";
+               };
+
+               ir: ir@1c22c00 {
+                       compatible = "allwinner,suniv-f1c100s-ir",
+                                    "allwinner,sun6i-a31-ir";
+                       reg = <0x01c22c00 0x400>;
+                       clocks = <&ccu CLK_BUS_IR>, <&ccu CLK_IR>;
+                       clock-names = "apb", "ir";
+                       resets = <&ccu RST_BUS_IR>;
+                       interrupts = <6>;
+                       status = "disabled";
+               };
+
+               lradc: lradc@1c23400 {
+                       compatible = "allwinner,suniv-f1c100s-lradc",
+                                    "allwinner,sun8i-a83t-r-lradc";
+                       reg = <0x01c23400 0x400>;
+                       interrupts = <22>;
+                       status = "disabled";
+               };
+
                uart0: serial@1c25000 {
                        compatible = "snps,dw-apb-uart";
                        reg = <0x01c25000 0x400>;
index e899d14f38c3dad6c86317d476f5abc064caf12c..1d1d127cf38f5c8e473f6e06a13707fadfe39a37 100644 (file)
        };
 
        reg_gmac_3v3: gmac-3v3 {
-                     compatible = "regulator-fixed";
-                     regulator-name = "gmac-3v3";
-                     regulator-min-microvolt = <3300000>;
-                     regulator-max-microvolt = <3300000>;
-                     startup-delay-us = <100000>;
-                     enable-active-high;
-                     gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>;
+               compatible = "regulator-fixed";
+               regulator-name = "gmac-3v3";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               startup-delay-us = <100000>;
+               enable-active-high;
+               gpio = <&pio 3 6 GPIO_ACTIVE_HIGH>;
        };
 
        wifi_pwrseq: wifi_pwrseq {
index 643914186092b8c0105a9a2af00c0b15e56204af..fc1af9b608ba716b9fb6803c7517c8480d184818 100644 (file)
                        interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&ccu CLK_BUS_EHCI0>, <&ccu CLK_BUS_OHCI0>;
                        resets = <&ccu RST_BUS_EHCI0>, <&ccu RST_BUS_OHCI0>;
+                       phys = <&usbphy 0>;
+                       phy-names = "usb";
                        status = "disabled";
                };
 
                        clocks = <&ccu CLK_BUS_EHCI0>, <&ccu CLK_BUS_OHCI0>,
                                 <&ccu CLK_USB_OHCI0>;
                        resets = <&ccu RST_BUS_EHCI0>, <&ccu RST_BUS_OHCI0>;
+                       phys = <&usbphy 0>;
+                       phy-names = "usb";
                        status = "disabled";
                };
 
index f5ac155c9c70ae6df5c3ca6f3c64040ea7d00338..d7570765f424df56ce44908c7c8c98759bb40df8 100644 (file)
@@ -67,4 +67,6 @@
 #define CLK_CODEC              65
 #define CLK_AVS                        66
 
+#define CLK_IR                 67
+
 #endif