65679fec40
* Use upstreamed power controller for espresso Related issue: https://gitlab.com/postmarketOS/pmaports/-/issues/2825 * Include patch for iio-rescale logic Related: https://lore.kernel.org/all/20220524075448.140238-1-linus.walleij@linaro.org/ * Enable CONFIG_NLS_ASCII Related: https://gitlab.com/postmarketOS/pmaports/-/issues/2874 * espresso-common: Remove twl6030 import and use upstreamed clk32kg for wlan [ci:skip-build]: already built successfully in CI Tweaked-By: Oliver Smith <ollieparanoid@postmarketos.org>
99 lines
3.1 KiB
Diff
99 lines
3.1 KiB
Diff
diff --git a/arch/arm/boot/dts/ti/omap/twl6032.dtsi b/arch/arm/boot/dts/ti/omap/twl6032.dtsi
|
|
new file mode 100644
|
|
index 000000000..f7b371179
|
|
--- /dev/null
|
|
+++ b/arch/arm/boot/dts/ti/omap/twl6032.dtsi
|
|
@@ -0,0 +1,93 @@
|
|
+/*
|
|
+ * Integrated Power Management Chip
|
|
+ * http://www.ti.com/lit/ds/symlink/twl6032.pdf
|
|
+ */
|
|
+&twl {
|
|
+ compatible = "ti,twl6032";
|
|
+ interrupt-controller;
|
|
+ #interrupt-cells = <1>;
|
|
+
|
|
+ rtc {
|
|
+ compatible = "ti,twl4030-rtc";
|
|
+ interrupts = <11>;
|
|
+ };
|
|
+
|
|
+ vana: regulator-vana {
|
|
+ compatible = "ti,twl6030-vana";
|
|
+ regulator-min-microvolt = <2100000>;
|
|
+ regulator-max-microvolt = <2100000>;
|
|
+ regulator-always-on;
|
|
+ regulator-state-mem {
|
|
+ regulator-off-in-suspend;
|
|
+ };
|
|
+ };
|
|
+
|
|
+ vaux1: regulator-vaux1 {
|
|
+ compatible = "ti,twl6032-ldo1";
|
|
+ regulator-min-microvolt = <2800000>;
|
|
+ regulator-max-microvolt = <2800000>;
|
|
+ regulator-always-on;
|
|
+ regulator-state-mem {
|
|
+ regulator-off-in-suspend;
|
|
+ };
|
|
+ };
|
|
+
|
|
+ vusim: regulator-vusim {
|
|
+ compatible = "ti,twl6032-ldo3";
|
|
+ regulator-min-microvolt = <3300000>;
|
|
+ regulator-max-microvolt = <3300000>;
|
|
+ regulator-always-on;
|
|
+ regulator-state-mem {
|
|
+ regulator-off-in-suspend;
|
|
+ };
|
|
+ };
|
|
+
|
|
+ vaux2: regulator-vaux2 {
|
|
+ compatible = "ti,twl6032-ldo4";
|
|
+ regulator-min-microvolt = <2800000>;
|
|
+ regulator-max-microvolt = <2800000>;
|
|
+ regulator-always-on;
|
|
+ };
|
|
+
|
|
+ ldo5: regulator-ldo5 {
|
|
+ compatible = "ti,twl6032-ldo5";
|
|
+ regulator-min-microvolt = <1800000>;
|
|
+ regulator-max-microvolt = <1800000>;
|
|
+ regulator-always-on;
|
|
+ };
|
|
+
|
|
+ vcxio: regulator-vcxio {
|
|
+ compatible = "ti,twl6032-ldo6";
|
|
+ regulator-min-microvolt = <1800000>;
|
|
+ regulator-max-microvolt = <1800000>;
|
|
+ regulator-always-on;
|
|
+ regulator-state-mem {
|
|
+ regulator-off-in-suspend;
|
|
+ };
|
|
+ };
|
|
+
|
|
+ smps4: regulator-smps4 {
|
|
+ compatible = "ti,twl6032-smps4";
|
|
+ regulator-min-microvolt = <1800000>;
|
|
+ regulator-max-microvolt = <1800000>;
|
|
+ regulator-always-on;
|
|
+ };
|
|
+
|
|
+ ldousb: regulator-ldousb {
|
|
+ compatible = "ti,twl6032-ldousb";
|
|
+ regulator-min-microvolt = <3300000>;
|
|
+ regulator-max-microvolt = <3300000>;
|
|
+ regulator-always-on;
|
|
+ };
|
|
+
|
|
+ gpadc: gpadc {
|
|
+ compatible = "ti,twl6032-gpadc";
|
|
+ interrupts = <3>;
|
|
+ #io-channel-cells = <1>;
|
|
+ };
|
|
+
|
|
+ twl_usb_comparator: usb-comparator {
|
|
+ compatible = "ti,twl6030-usb";
|
|
+ interrupts = <4>, <10>;
|
|
+ };
|
|
+};
|