mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-22 14:51:41 +00:00
56 lines
1.5 KiB
Diff
56 lines
1.5 KiB
Diff
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
|
|
index 68aadc9..912bb06 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
|
|
@@ -325,6 +325,16 @@
|
|
drive-strength = <40>;
|
|
};
|
|
|
|
+ spi0_pins: spi0 {
|
|
+ pins = "PC0", "PC1", "PC2", "PC3";
|
|
+ function = "spi0";
|
|
+ };
|
|
+
|
|
+ spi1_pins: spi1 {
|
|
+ pins = "PA15", "PA16", "PA14", "PA13";
|
|
+ function = "spi1";
|
|
+ };
|
|
+
|
|
uart0_pins_a: uart0@0 {
|
|
pins = "PB8", "PB9";
|
|
function = "uart0";
|
|
@@ -361,6 +371,34 @@
|
|
};
|
|
};
|
|
|
|
+ spi0: spi@01c68000 {
|
|
+ compatible = "allwinner,sun8i-h3-spi";
|
|
+ reg = <0x01c68000 0x1000>;
|
|
+ interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clocks = <&ccu CLK_BUS_SPI0>, <&ccu CLK_SPI0>;
|
|
+ clock-names = "ahb", "mod";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&spi0_pins>;
|
|
+ resets = <&ccu RST_BUS_SPI0>;
|
|
+ status = "disabled";
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+ };
|
|
+
|
|
+ spi1: spi@01c69000 {
|
|
+ compatible = "allwinner,sun8i-h3-spi";
|
|
+ reg = <0x01c69000 0x1000>;
|
|
+ interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
|
|
+ clocks = <&ccu CLK_BUS_SPI1>, <&ccu CLK_SPI1>;
|
|
+ clock-names = "ahb", "mod";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&spi1_pins>;
|
|
+ resets = <&ccu RST_BUS_SPI1>;
|
|
+ status = "disabled";
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+ };
|
|
+
|
|
uart0: serial@1c28000 {
|
|
compatible = "snps,dw-apb-uart";
|
|
reg = <0x01c28000 0x400>;
|