Skip to content

Commit

Permalink
Orangepi One Plus Rollback to i2c
Browse files Browse the repository at this point in the history
  • Loading branch information
gleam2003 committed Jul 6, 2022
1 parent 1077af2 commit 0df2112
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi
index ee1919b80..15f4d7de9 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi
@@ -129,12 +129,12 @@ &r_pio {
vcc-pm-supply = <&reg_bldo3>;
};

-&r_rsb {
+&r_i2c {
status = "okay";

- axp805: pmic@745 {
+ axp805: pmic@36 {
compatible = "x-powers,axp805", "x-powers,axp806";
- reg = <0x745>;
+ reg = <0x36>;
interrupt-parent = <&r_intc>;
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
1 change: 1 addition & 0 deletions patch/kernel/archive/sunxi-5.15/series.armbian
Original file line number Diff line number Diff line change
Expand Up @@ -198,3 +198,4 @@
patches.armbian/0013-x-fix-h6-emmc-dts.patch
patches.armbian/0014-add-uwe-bsp-to-orangepi3-lts-dts-file.patch
patches.armbian/999-rollback-rsb.patch
patches.armbian/Orangepi_one_plus_Rollback-r_rsb-to-r_i2c.patch
1 change: 1 addition & 0 deletions patch/kernel/archive/sunxi-5.15/series.conf
Original file line number Diff line number Diff line change
Expand Up @@ -674,3 +674,4 @@
patches.armbian/0013-x-fix-h6-emmc-dts.patch
patches.armbian/0014-add-uwe-bsp-to-orangepi3-lts-dts-file.patch
patches.armbian/999-rollback-rsb.patch
patches.armbian/Orangepi_one_plus_Rollback-r_rsb-to-r_i2c.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi
index ee1919b80..15f4d7de9 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi
+++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-orangepi.dtsi
@@ -129,12 +129,12 @@ &r_pio {
vcc-pm-supply = <&reg_bldo3>;
};

-&r_rsb {
+&r_i2c {
status = "okay";

- axp805: pmic@745 {
+ axp805: pmic@36 {
compatible = "x-powers,axp805", "x-powers,axp806";
- reg = <0x745>;
+ reg = <0x36>;
interrupt-parent = <&r_intc>;
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_LOW>;
interrupt-controller;
1 change: 1 addition & 0 deletions patch/kernel/archive/sunxi-5.18/series.armbian
Original file line number Diff line number Diff line change
Expand Up @@ -178,3 +178,4 @@
patches.armbian/arm64-dts-allwinner-sun50i-h6-Fix-H6-emmc.patch
patches.armbian/add-uwe-bsp-to-OPi3-LTS-dts-file.patch
patches.armbian/Rollback-r_rsb-to-r_i2c.patch
patches.armbian/Orangepi_one_plus_Rollback-r_rsb-to-r_i2c.patch
1 change: 1 addition & 0 deletions patch/kernel/archive/sunxi-5.18/series.conf
Original file line number Diff line number Diff line change
Expand Up @@ -732,3 +732,4 @@
patches.armbian/arm64-dts-allwinner-sun50i-h6-Fix-H6-emmc.patch
patches.armbian/add-uwe-bsp-to-OPi3-LTS-dts-file.patch
patches.armbian/Rollback-r_rsb-to-r_i2c.patch
patches.armbian/Orangepi_one_plus_Rollback-r_rsb-to-r_i2c.patch

0 comments on commit 0df2112

Please sign in to comment.