Update for Orange Pi Zero2w

This commit is contained in:
orangepi-xunlong
2023-08-18 19:17:05 +08:00
parent 50d9ccad68
commit de53cf7b70
23 changed files with 134 additions and 56 deletions

View File

@@ -1824,9 +1824,25 @@
compatible = "x-powers,axp1530";
reg = <0x36>;
wakeup-source;
pmu_hot_shutdown = <0x1>;
//pmu_hot_shutdown = <0x1>;
phandle = <0xa6>;
//interrupt-parent = <0x23>;
//interrupts = <2 9 8>;
//interrupt-controller;
//#interrupt-cells = <1>;
//powerkey0: powerkey@0{
// status = "okay";
// compatible = "x-powers,axp2101-pek";
// pmu_powkey_off_time = <6000>;
// pmu_powkey_off_func = <0>;
// pmu_powkey_off_en = <1>;
// pmu_powkey_long_time = <1500>;
// pmu_powkey_on_time = <1000>;
// wakeup_falling;
//};
standby_param {
vdd-cpua = <0x2>;
vdd-sys = <0x1>;
@@ -1982,17 +1998,19 @@
clocks = <0x2 0x58>;
clock-names = "bus";
resets = <0x2 0x22>;
status = "okay";
status = "disabled";
phandle = <0xab>;
};
keyboard@5070800 {
compatible = "allwinner,keyboard_1350mv";
reg = <0x0 0x5070800 0x0 0x400>;
interrupts = <0x0 0x14 0x0>;
interrupts = <0x0 0x14 0x1>;
clocks = <0x2 0x74>;
key_cnt = <1>;
key0 = <1800 139>;
resets = <0x2 53>;
key_cnt = <2>;
key0 = <600 2>;
key1 = <800 28>;
status = "okay";
phandle = <0xac>;
};
@@ -2352,34 +2370,22 @@
compatible = "gpio-leds";
status = "okay";
status {
label = "status_led";
green_led {
label = "green_led";
gpios = <0x23 0x2 0xd 0x0>; /* PC13 */
linux,default-trigger = "heartbeat";
};
100m_link {
label = "100m_link";
gpios = <0x23 0x2 0xc 0x0>; /* PC12 */
gpios = <0x23 0x2 0xf 0x0>; /* PC15 */
default-state = "off";
};
100m_act {
label = "100m_act";
gpios = <0x23 0x2 0xe 0x0>; /* PC14 */
default-state = "off";
};
led12 {
label = "led12";
gpios = <0x23 0x2 0xf 0x0>; /* PC15 */
linux,default-trigger = "heartbeat";
};
led34 {
label = "led34";
gpios = <0x23 0x2 0x10 0x0>; /* PC16 */
linux,default-trigger = "heartbeat";
default-state = "off";
};
};
@@ -2671,7 +2677,7 @@
clocks = <0xd 0x8 0xa 0xd 0x7>;
clock-names = "bus", "pclk", "mclk";
resets = <0xd 0x3>;
status = "disabled";
status = "okay";
s_cir0_used = <0x1>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <0x64>;
@@ -2978,16 +2984,6 @@
};
};
usb0-drvvvbus {
compatible = "regulator-fixed";
regulator-name = "usb0-drvvbus";
regulator-min-microvolt = <0x4c4b40>;
regulator-max-microvolt = <0x4c4b40>;
regulator-enable-ramp-delay = <0x3e8>;
enable-active-high;
phandle = <0x62>;
};
box_start_os0 {
compatible = "allwinner,box_start_os";
start_type = <0x1>;
@@ -3209,6 +3205,5 @@
cpu_threshold = "/thermal-zones/cpu_thermal_zone/trips/trip-point@0";
cpu_target = "/thermal-zones/cpu_thermal_zone/trips/trip-point@1";
cpu_crit = "/thermal-zones/cpu_thermal_zone/trips/cpu_crit@0";
usb0_drvvbus = "/usb0-drvvvbus";
};
};