add missing H6 IR-RX
This commit is contained in:
parent
79e0a668e7
commit
b791e39ffa
33
patch/kernel/sunxi-dev/general-add-H6-IR-RX.patch
Normal file
33
patch/kernel/sunxi-dev/general-add-H6-IR-RX.patch
Normal file
@ -0,0 +1,33 @@
|
||||
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
|
||||
index dc785da..2fb6fe9 100644
|
||||
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
|
||||
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
|
||||
@@ -768,6 +768,11 @@
|
||||
pins = "PL0", "PL1";
|
||||
function = "s_i2c";
|
||||
};
|
||||
+
|
||||
+ r_ir_rx_pins: r-ir-rx {
|
||||
+ pins = "PL9";
|
||||
+ function = "s_cir_rx";
|
||||
+ };
|
||||
};
|
||||
|
||||
r_i2c: i2c@7081400 {
|
||||
@@ -794,6 +794,16 @@
|
||||
resets = <&r_ccu RST_R_APB2_UART>;
|
||||
status = "disabled";
|
||||
};
|
||||
+
|
||||
+ ir: ir@7040000 {
|
||||
+ compatible = "allwinner,sun5i-a13-ir";
|
||||
+ clocks = <&r_ccu CLK_R_APB1_IR>, <&r_ccu CLK_IR>;
|
||||
+ clock-names = "apb", "ir";
|
||||
+ resets = <&r_ccu RST_R_APB1_IR>;
|
||||
+ interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
|
||||
+ reg = <0x07040000 0x400>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
};
|
||||
|
||||
thermal-zones {
|
||||
@ -19,9 +19,9 @@ index c72da8c..41a057e 100644
|
||||
};
|
||||
|
||||
uart0: serial@5000000 {
|
||||
@@ -768,6 +893,11 @@
|
||||
pins = "PL0", "PL1";
|
||||
function = "s_i2c";
|
||||
@@ -768,6 +768,11 @@
|
||||
pins = "PL9";
|
||||
function = "s_cir_rx";
|
||||
};
|
||||
+
|
||||
+ r_uart_pins: r-uart {
|
||||
@ -31,7 +31,7 @@ index c72da8c..41a057e 100644
|
||||
};
|
||||
|
||||
r_i2c: i2c@7081400 {
|
||||
@@ -782,6 +912,18 @@
|
||||
@@ -782,6 +912,17 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
@ -46,7 +46,6 @@ index c72da8c..41a057e 100644
|
||||
+ resets = <&r_ccu RST_R_APB2_UART>;
|
||||
+ status = "disabled";
|
||||
+ };
|
||||
+
|
||||
};
|
||||
|
||||
thermal-zones {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user