Skip to content

Commit

Permalink
nopatch
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelscholle committed Sep 8, 2024
1 parent ad7a638 commit d025801
Show file tree
Hide file tree
Showing 30 changed files with 10,090 additions and 173 deletions.
14 changes: 5 additions & 9 deletions arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3-io.dts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@
};

&usbhost_dwc3 {
status = "okay";
dr_mode = "host";
extcon = <&usb2phy0>;
status = "okay";
};

&usbhost30 {
Expand Down Expand Up @@ -221,14 +223,8 @@

&i2c2 {
status = "okay";
hym8563: hym8563@51 {
compatible = "haoyu,hym8563";
status = "okay";
reg = <0x51>;
#clock-cells = <0>;
clock-frequency = <32768>;
clock-output-names = "hym8563";
};
pinctrl-names = "default";
pinctrl-0 = <&i2c2m0_xfer>;
};

&rk817 {
Expand Down
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3-rpi-cm4-io.dts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@
};
};

&i2c2 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&i2c2m0_xfer>;
};

&threshold {
temperature = <60000>;
};
Expand Down
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3566-radxa-cm3.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,12 @@
};
};

&uart2 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&uart2m0_xfer>;
};

&pinctrl {
pmic {
pmic_int: pmic_int {
Expand Down
63 changes: 62 additions & 1 deletion arch/arm64/boot/dts/rockchip/rk3566-radxa-zero-3w-aic8800ds2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
pinctrl-names = "default", "rts_gpio";
pinctrl-0 = <&uart1m0_rtsn>;
pinctrl-1 = <&uart1_gpios>;
BT,reset_gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>;
// BT,reset_gpio = <&gpio0 RK_PC1 GPIO_ACTIVE_HIGH>;
BT,wake_gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
BT,wake_host_irq = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
status = "okay";
Expand All @@ -39,6 +39,48 @@
reset-gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_LOW>;
};

keys: gpio-keys {
compatible = "gpio-keys";
pinctrl-names = "default";
pinctrl-0 = <&pwr_key>;
autorepeat;
up-key {
gpios = <&gpio3 RK_PC1 GPIO_ACTIVE_LOW>;
linux,code = <103>;
label = "key up";
};
down-key {
gpios = <&gpio4 RK_PC6 GPIO_ACTIVE_LOW>;
linux,code = <108>;
label = "key down";
};
left-key {
gpios = <&gpio4 RK_PB3 GPIO_ACTIVE_LOW>;
linux,code = <106>;
label = "key left";
};
right-key {
gpios = <&gpio3 RK_PC2 GPIO_ACTIVE_LOW>;
linux,code = <107>;
label = "key right";
};
enter-key {
gpios = <&gpio3 RK_PA7 GPIO_ACTIVE_LOW>;
linux,code = <29>;
label = "key enter";
};
back-key {
gpios = <&gpio3 RK_PA6 GPIO_ACTIVE_LOW>;
linux,code = <159>;
label = "key back";
};
reset-key {
gpios = <&gpio3 RK_PA5 GPIO_ACTIVE_LOW>;
linux,code = <2>;
label = "key reset";
};
};

board_antenna: board-antenna {
status = "okay";
compatible = "regulator-fixed";
Expand All @@ -58,6 +100,12 @@
pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn>;
};

&uart2 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&uart2m0_xfer>;
};

&sdmmc1 {
supports-sdio;
bus-width = <4>;
Expand Down Expand Up @@ -134,6 +182,19 @@
};
};

keys {
pwr_key: pwr-key {
rockchip,pins =
<3 RK_PC1 RK_FUNC_GPIO &pcfg_pull_up>,
<4 RK_PB3 RK_FUNC_GPIO &pcfg_pull_up>,
<3 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>,
<3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>,
<3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>,
<3 RK_PC2 RK_FUNC_GPIO &pcfg_pull_up>,
<4 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>;
};
};

antenna {
ant_1: ant-1 {
rockchip,pins = <3 RK_PD3 RK_FUNC_GPIO &pcfg_pull_down>;
Expand Down
Loading

0 comments on commit d025801

Please sign in to comment.