308-dt-sun7i-add-axp209-to-pcduino3.patch 414 B

1234567891011121314151617
  1. --- a/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
  2. +++ b/arch/arm/boot/dts/sun7i-a20-pcduino3.dts
  3. @@ -111,6 +111,14 @@
  4. pinctrl-names = "default";
  5. pinctrl-0 = <&i2c0_pins_a>;
  6. status = "okay";
  7. +
  8. + axp: axp20x@34 {
  9. + reg = <0x34>;
  10. + interrupt-parent = <&nmi_intc>;
  11. + interrupts = <0 8>;
  12. + axp,system-power-controller;
  13. + /include/ "x-powers-axp209.dtsi"
  14. + };
  15. };
  16. i2c1: i2c@01c2b000 {