From f27727fa124b3e428601614ee95ebe0dc7162f33 Mon Sep 17 00:00:00 2001 From: The-going <48602507+The-going@users.noreply.github.com> Date: Sun, 13 Nov 2022 23:15:38 +0300 Subject: [PATCH 075/153] arm64: dts: allwiner: sun50i-h616.dtsi: add usb,ehci,ohci --- arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi index 74aed0d23..44f8ae11c 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h616.dtsi @@ -58,12 +58,12 @@ reserved-memory { ranges; /* - * 256 KiB reserved for Trusted Firmware-A (BL31). + * 512 KiB reserved for Trusted Firmware-A (BL31). * This is added by BL31 itself, but some bootloaders fail * to propagate this into the DTB handed to kernels. */ secmon@40000000 { - reg = <0x0 0x40000000 0x0 0x40000>; + reg = <0x0 0x40000000 0x0 0x80000>; no-map; }; }; @@ -466,6 +466,8 @@ spi0: spi@5010000 { clocks = <&ccu CLK_BUS_SPI0>, <&ccu CLK_SPI0>; clock-names = "ahb", "mod"; resets = <&ccu RST_BUS_SPI0>; + pinctrl-names = "default"; + pinctrl-0 = <&spi0_pins>; status = "disabled"; #address-cells = <1>; #size-cells = <0>; @@ -479,6 +481,8 @@ spi1: spi@5011000 { clocks = <&ccu CLK_BUS_SPI1>, <&ccu CLK_SPI1>; clock-names = "ahb", "mod"; resets = <&ccu RST_BUS_SPI1>; + pinctrl-names = "default"; + pinctrl-0 = <&spi1_pins>; status = "disabled"; #address-cells = <1>; #size-cells = <0>; @@ -688,11 +692,14 @@ r_ccu: clock@7010000 { r_pio: pinctrl@7022000 { compatible = "allwinner,sun50i-h616-r-pinctrl"; reg = <0x07022000 0x400>; + interrupts = ; clocks = <&r_ccu CLK_R_APB1>, <&osc24M>, <&rtc CLK_OSC32K>; clock-names = "apb", "hosc", "losc"; gpio-controller; #gpio-cells = <3>; + interrupt-controller; + #interrupt-cells = <3>; /omit-if-no-ref/ r_i2c_pins: r-i2c-pins { -- 2.35.3