51 lines
1.3 KiB
Diff
51 lines
1.3 KiB
Diff
|
diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts
|
||
|
index bc34d7264..f3c70d36a 100644
|
||
|
--- a/arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts
|
||
|
+++ b/arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts
|
||
|
@@ -70,9 +70,26 @@ pwr {
|
||
|
status {
|
||
|
label = "nanopi:blue:status";
|
||
|
gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>; /* PA10 */
|
||
|
+ linux,default-trigger = "heartbeat";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
+ vdd_cpux: gpio-regulator {
|
||
|
+ compatible = "regulator-gpio";
|
||
|
+ pinctrl-names = "default";
|
||
|
+ regulator-name = "vdd-cpux";
|
||
|
+ regulator-type = "voltage";
|
||
|
+ regulator-boot-on;
|
||
|
+ regulator-always-on;
|
||
|
+ regulator-min-microvolt = <1100000>;
|
||
|
+ regulator-max-microvolt = <1300000>;
|
||
|
+ regulator-ramp-delay = <50>; /* 4ms */
|
||
|
+ gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
|
||
|
+ gpios-states = <0x1>;
|
||
|
+ states = <1100000 0x0
|
||
|
+ 1300000 0x1>;
|
||
|
+ };
|
||
|
+
|
||
|
wifi_pwrseq: wifi_pwrseq {
|
||
|
compatible = "mmc-pwrseq-simple";
|
||
|
pinctrl-names = "default";
|
||
|
@@ -80,6 +97,7 @@ wifi_pwrseq: wifi_pwrseq {
|
||
|
reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */
|
||
|
post-power-on-delay-ms = <200>;
|
||
|
};
|
||
|
+
|
||
|
rfkill_bt {
|
||
|
compatible = "rfkill-gpio";
|
||
|
pinctrl-names = "default";
|
||
|
@@ -124,6 +142,10 @@ reg_cam_dvdd: cam-dvdd {
|
||
|
|
||
|
};
|
||
|
|
||
|
+&cpu0 {
|
||
|
+ cpu-supply = <&vdd_cpux>;
|
||
|
+};
|
||
|
+
|
||
|
&pio {
|
||
|
bt_pwr_pin: bt_pwr_pin@0 {
|
||
|
pins = "PG13";
|