Commit b726e211 authored by Olof Johansson's avatar Olof Johansson

Merge tag 'v5.2-rockchip-dts64-2' of...

Merge tag 'v5.2-rockchip-dts64-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into arm/dt

Bulk conversion of remaining gpios to the helper constants, new peripherals
for the rk3328-roc-cc and some minor fixes for rk3399 and rockpro64.

* tag 'v5.2-rockchip-dts64-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  arm64: dts: rockchip: fix IO domain voltage setting of APIO5 on rockpro64
  arm64: dts: rockchip: fix cts, rts pin assign of UART3 for rk3399
  arm64: dts: rockchip: bulk convert gpios to their constant counterparts
  arm64: dts: rockchip: enable display nodes on rk3328-roc-cc
  arm64: dts: rockchip: eMMC additions for rk3328-roc-cc
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents bcb84a10 798689e4
...@@ -145,12 +145,12 @@ soc_slppin_gpio: soc_slppin_gpio { ...@@ -145,12 +145,12 @@ soc_slppin_gpio: soc_slppin_gpio {
soc_slppin_slp: soc_slppin_slp { soc_slppin_slp: soc_slppin_slp {
rockchip,pins = rockchip,pins =
<0 RK_PA4 RK_FUNC_1 &pcfg_pull_none>; <0 RK_PA4 1 &pcfg_pull_none>;
}; };
soc_slppin_rst: soc_slppin_rst { soc_slppin_rst: soc_slppin_rst {
rockchip,pins = rockchip,pins =
<0 RK_PA4 RK_FUNC_2 &pcfg_pull_none>; <0 RK_PA4 2 &pcfg_pull_none>;
}; };
}; };
......
...@@ -208,7 +208,7 @@ pmic_int_l: pmic-int-l { ...@@ -208,7 +208,7 @@ pmic_int_l: pmic-int-l {
sdio-pwrseq { sdio-pwrseq {
wifi_enable_h: wifi-enable-h { wifi_enable_h: wifi-enable-h {
rockchip,pins = rockchip,pins =
<1 18 RK_FUNC_GPIO &pcfg_pull_none>; <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
}; };
......
...@@ -122,9 +122,14 @@ &cpu3 { ...@@ -122,9 +122,14 @@ &cpu3 {
&emmc { &emmc {
bus-width = <8>; bus-width = <8>;
cap-mmc-highspeed; cap-mmc-highspeed;
max-frequency = <150000000>;
mmc-ddr-1_8v;
mmc-hs200-1_8v;
non-removable; non-removable;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>; pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
vmmc-supply = <&vcc_io>;
vqmmc-supply = <&vcc18_emmc>;
status = "okay"; status = "okay";
}; };
...@@ -145,6 +150,14 @@ &gmac2io { ...@@ -145,6 +150,14 @@ &gmac2io {
status = "okay"; status = "okay";
}; };
&hdmi {
status = "okay";
};
&hdmiphy {
status = "okay";
};
&i2c1 { &i2c1 {
status = "okay"; status = "okay";
...@@ -328,3 +341,11 @@ &usb_host0_ehci { ...@@ -328,3 +341,11 @@ &usb_host0_ehci {
&usb_host0_ohci { &usb_host0_ohci {
status = "okay"; status = "okay";
}; };
&vop {
status = "okay";
};
&vop_mmu {
status = "okay";
};
...@@ -154,60 +154,60 @@ pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { ...@@ -154,60 +154,60 @@ pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
backlight { backlight {
bl_en: bl-en { bl_en: bl-en {
rockchip,pins = <0 20 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
emmc { emmc {
emmc_bus8: emmc-bus8 { emmc_bus8: emmc-bus8 {
rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up_drv_8ma>,
<1 19 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PC3 2 &pcfg_pull_up_drv_8ma>,
<1 20 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PC4 2 &pcfg_pull_up_drv_8ma>,
<1 21 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PC5 2 &pcfg_pull_up_drv_8ma>,
<1 22 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PC6 2 &pcfg_pull_up_drv_8ma>,
<1 23 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PC7 2 &pcfg_pull_up_drv_8ma>,
<1 24 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PD0 2 &pcfg_pull_up_drv_8ma>,
<1 25 RK_FUNC_2 &pcfg_pull_up_drv_8ma>; <1 RK_PD1 2 &pcfg_pull_up_drv_8ma>;
}; };
emmc-clk { emmc-clk {
rockchip,pins = <2 4 RK_FUNC_2 &pcfg_pull_none_drv_8ma>; rockchip,pins = <2 RK_PA4 2 &pcfg_pull_none_drv_8ma>;
}; };
emmc-cmd { emmc-cmd {
rockchip,pins = <1 26 RK_FUNC_2 &pcfg_pull_up_drv_8ma>; rockchip,pins = <1 RK_PD2 2 &pcfg_pull_up_drv_8ma>;
}; };
emmc_reset: emmc-reset { emmc_reset: emmc-reset {
rockchip,pins = <2 3 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <2 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
keys { keys {
pwr_key: pwr-key { pwr_key: pwr-key {
rockchip,pins = <0 2 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
pmic { pmic {
pmic_int: pmic-int { pmic_int: pmic-int {
rockchip,pins = <0 1 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
sdio { sdio {
wifi_reg_on: wifi-reg-on { wifi_reg_on: wifi-reg-on {
rockchip,pins = <3 4 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <3 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
bt_rst: bt-rst { bt_rst: bt-rst {
rockchip,pins = <3 5 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
usb { usb {
host_vbus_drv: host-vbus-drv { host_vbus_drv: host-vbus-drv {
rockchip,pins = <0 4 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
}; };
......
...@@ -233,23 +233,23 @@ vcc_lan: SWITCH_REG2 { ...@@ -233,23 +233,23 @@ vcc_lan: SWITCH_REG2 {
&pinctrl { &pinctrl {
ir { ir {
ir_int: ir-int { ir_int: ir-int {
rockchip,pins = <3 30 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <3 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
keys { keys {
pwr_key: pwr-key { pwr_key: pwr-key {
rockchip,pins = <0 2 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
pmic { pmic {
pmic_sleep: pmic-sleep { pmic_sleep: pmic-sleep {
rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>; rockchip,pins = <0 RK_PA0 2 &pcfg_pull_none>;
}; };
pmic_int: pmic-int { pmic_int: pmic-int {
rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
}; };
......
...@@ -113,34 +113,34 @@ hog { ...@@ -113,34 +113,34 @@ hog {
haikou_pin_hog: haikou-pin-hog { haikou_pin_hog: haikou-pin-hog {
rockchip,pins = rockchip,pins =
/* LID_BTN */ /* LID_BTN */
<RK_GPIO3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>, <3 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>,
/* BATLOW# */ /* BATLOW# */
<RK_GPIO0 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up>, <0 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up>,
/* SLP_BTN# */ /* SLP_BTN# */
<RK_GPIO3 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>, <3 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>,
/* BIOS_DISABLE# */ /* BIOS_DISABLE# */
<RK_GPIO3 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>; <3 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
leds { leds {
led_sd_haikou: led-sd-gpio { led_sd_haikou: led-sd-gpio {
rockchip,pins = rockchip,pins =
<RK_GPIO0 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>; <0 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
sdmmc { sdmmc {
sdmmc_cd_gpio: sdmmc-cd-gpio { sdmmc_cd_gpio: sdmmc-cd-gpio {
rockchip,pins = rockchip,pins =
<RK_GPIO2 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>; <2 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
usb_otg { usb_otg {
otg_vbus_drv: otg-vbus-drv { otg_vbus_drv: otg-vbus-drv {
rockchip,pins = rockchip,pins =
<RK_GPIO0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
}; };
...@@ -272,17 +272,17 @@ &pinctrl { ...@@ -272,17 +272,17 @@ &pinctrl {
leds { leds {
led_pins_module: led-module-gpio { led_pins_module: led-module-gpio {
rockchip,pins = rockchip,pins =
<RK_GPIO2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>, <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>,
<RK_GPIO3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; <3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
pmic { pmic {
pmic_int_l: pmic-int-l { pmic_int_l: pmic-int-l {
rockchip,pins = <RK_GPIO0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
pmic_sleep: pmic-sleep { pmic_sleep: pmic-sleep {
rockchip,pins = <RK_GPIO0 RK_PA0 RK_FUNC_2 &pcfg_pull_none>; rockchip,pins = <0 RK_PA0 2 &pcfg_pull_none>;
}; };
}; };
}; };
......
...@@ -226,73 +226,73 @@ pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { ...@@ -226,73 +226,73 @@ pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
emmc { emmc {
emmc_bus8: emmc-bus8 { emmc_bus8: emmc-bus8 {
rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up_drv_8ma>,
<1 19 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PC3 2 &pcfg_pull_up_drv_8ma>,
<1 20 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PC4 2 &pcfg_pull_up_drv_8ma>,
<1 21 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PC5 2 &pcfg_pull_up_drv_8ma>,
<1 22 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PC6 2 &pcfg_pull_up_drv_8ma>,
<1 23 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PC7 2 &pcfg_pull_up_drv_8ma>,
<1 24 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PD0 2 &pcfg_pull_up_drv_8ma>,
<1 25 RK_FUNC_2 &pcfg_pull_up_drv_8ma>; <1 RK_PD1 2 &pcfg_pull_up_drv_8ma>;
}; };
emmc-clk { emmc-clk {
rockchip,pins = <2 4 RK_FUNC_2 &pcfg_pull_none_drv_8ma>; rockchip,pins = <2 RK_PA4 2 &pcfg_pull_none_drv_8ma>;
}; };
emmc-cmd { emmc-cmd {
rockchip,pins = <1 26 RK_FUNC_2 &pcfg_pull_up_drv_8ma>; rockchip,pins = <1 RK_PD2 2 &pcfg_pull_up_drv_8ma>;
}; };
emmc_reset: emmc-reset { emmc_reset: emmc-reset {
rockchip,pins = <2 3 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <2 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
keys { keys {
pwr_key: pwr-key { pwr_key: pwr-key {
rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_down>; rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_down>;
}; };
}; };
leds { leds {
stby_pwren: stby-pwren { stby_pwren: stby-pwren {
rockchip,pins = <0 12 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
led_ctl: led-ctl { led_ctl: led-ctl {
rockchip,pins = <3 29 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
sdmmc { sdmmc {
sdmmc_clk: sdmmc-clk { sdmmc_clk: sdmmc-clk {
rockchip,pins = <2 9 RK_FUNC_1 &pcfg_pull_none_drv_8ma>; rockchip,pins = <2 RK_PB1 1 &pcfg_pull_none_drv_8ma>;
}; };
sdmmc_cmd: sdmmc-cmd { sdmmc_cmd: sdmmc-cmd {
rockchip,pins = <2 10 RK_FUNC_1 &pcfg_pull_up_drv_8ma>; rockchip,pins = <2 RK_PB2 1 &pcfg_pull_up_drv_8ma>;
}; };
sdmmc_cd: sdmmc-cd { sdmmc_cd: sdmmc-cd {
rockchip,pins = <2 11 RK_FUNC_1 &pcfg_pull_up_drv_8ma>; rockchip,pins = <2 RK_PB3 1 &pcfg_pull_up_drv_8ma>;
}; };
sdmmc_bus1: sdmmc-bus1 { sdmmc_bus1: sdmmc-bus1 {
rockchip,pins = <2 5 RK_FUNC_1 &pcfg_pull_up_drv_8ma>; rockchip,pins = <2 RK_PA5 1 &pcfg_pull_up_drv_8ma>;
}; };
sdmmc_bus4: sdmmc-bus4 { sdmmc_bus4: sdmmc-bus4 {
rockchip,pins = <2 5 RK_FUNC_1 &pcfg_pull_up_drv_8ma>, rockchip,pins = <2 RK_PA5 1 &pcfg_pull_up_drv_8ma>,
<2 6 RK_FUNC_1 &pcfg_pull_up_drv_8ma>, <2 RK_PA6 1 &pcfg_pull_up_drv_8ma>,
<2 7 RK_FUNC_1 &pcfg_pull_up_drv_8ma>, <2 RK_PA7 1 &pcfg_pull_up_drv_8ma>,
<2 8 RK_FUNC_1 &pcfg_pull_up_drv_8ma>; <2 RK_PB0 1 &pcfg_pull_up_drv_8ma>;
}; };
}; };
usb { usb {
host_vbus_drv: host-vbus-drv { host_vbus_drv: host-vbus-drv {
rockchip,pins = <0 4 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
}; };
......
...@@ -218,17 +218,17 @@ gsl1680: touchscreen@40 { ...@@ -218,17 +218,17 @@ gsl1680: touchscreen@40 {
&pinctrl { &pinctrl {
keys { keys {
pwr_key: pwr-key { pwr_key: pwr-key {
rockchip,pins = <0 2 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
pmic { pmic {
pmic_sleep: pmic-sleep { pmic_sleep: pmic-sleep {
rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>; rockchip,pins = <0 RK_PA0 2 &pcfg_pull_none>;
}; };
pmic_int: pmic-int { pmic_int: pmic-int {
rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
}; };
......
...@@ -235,64 +235,64 @@ pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma { ...@@ -235,64 +235,64 @@ pcfg_pull_up_drv_8ma: pcfg-pull-up-drv-8ma {
emmc { emmc {
emmc_bus8: emmc-bus8 { emmc_bus8: emmc-bus8 {
rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up_drv_8ma>,
<1 19 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PC3 2 &pcfg_pull_up_drv_8ma>,
<1 20 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PC4 2 &pcfg_pull_up_drv_8ma>,
<1 21 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PC5 2 &pcfg_pull_up_drv_8ma>,
<1 22 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PC6 2 &pcfg_pull_up_drv_8ma>,
<1 23 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PC7 2 &pcfg_pull_up_drv_8ma>,
<1 24 RK_FUNC_2 &pcfg_pull_up_drv_8ma>, <1 RK_PD0 2 &pcfg_pull_up_drv_8ma>,
<1 25 RK_FUNC_2 &pcfg_pull_up_drv_8ma>; <1 RK_PD1 2 &pcfg_pull_up_drv_8ma>;
}; };
emmc-clk { emmc-clk {
rockchip,pins = <2 4 RK_FUNC_2 &pcfg_pull_none_drv_8ma>; rockchip,pins = <2 RK_PA4 2 &pcfg_pull_none_drv_8ma>;
}; };
emmc-cmd { emmc-cmd {
rockchip,pins = <1 26 RK_FUNC_2 &pcfg_pull_up_drv_8ma>; rockchip,pins = <1 RK_PD2 2 &pcfg_pull_up_drv_8ma>;
}; };
emmc_reset: emmc-reset { emmc_reset: emmc-reset {
rockchip,pins = <2 3 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <2 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
ir { ir {
ir_int: ir-int { ir_int: ir-int {
rockchip,pins = <3 30 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <3 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
keys { keys {
pwr_key: pwr-key { pwr_key: pwr-key {
rockchip,pins = <0 2 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
leds { leds {
stby_pwren: stby-pwren { stby_pwren: stby-pwren {
rockchip,pins = <0 12 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
led_ctl: led-ctl { led_ctl: led-ctl {
rockchip,pins = <3 29 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <3 RK_PD5 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
sdio { sdio {
wifi_reg_on: wifi-reg-on { wifi_reg_on: wifi-reg-on {
rockchip,pins = <3 4 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <3 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
bt_rst: bt-rst { bt_rst: bt-rst {
rockchip,pins = <3 5 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
usb { usb {
host_vbus_drv: host-vbus-drv { host_vbus_drv: host-vbus-drv {
rockchip,pins = <0 4 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
}; };
......
...@@ -881,345 +881,345 @@ pcfg_pull_none_12ma: pcfg-pull-none-12ma { ...@@ -881,345 +881,345 @@ pcfg_pull_none_12ma: pcfg-pull-none-12ma {
emmc { emmc {
emmc_clk: emmc-clk { emmc_clk: emmc-clk {
rockchip,pins = <2 4 RK_FUNC_2 &pcfg_pull_none>; rockchip,pins = <2 RK_PA4 2 &pcfg_pull_none>;
}; };
emmc_cmd: emmc-cmd { emmc_cmd: emmc-cmd {
rockchip,pins = <1 26 RK_FUNC_2 &pcfg_pull_up>; rockchip,pins = <1 RK_PD2 2 &pcfg_pull_up>;
}; };
emmc_pwr: emmc-pwr { emmc_pwr: emmc-pwr {
rockchip,pins = <1 27 RK_FUNC_2 &pcfg_pull_up>; rockchip,pins = <1 RK_PD3 2 &pcfg_pull_up>;
}; };
emmc_bus1: emmc-bus1 { emmc_bus1: emmc-bus1 {
rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_up>; rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up>;
}; };
emmc_bus4: emmc-bus4 { emmc_bus4: emmc-bus4 {
rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_up>, rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up>,
<1 19 RK_FUNC_2 &pcfg_pull_up>, <1 RK_PC3 2 &pcfg_pull_up>,
<1 20 RK_FUNC_2 &pcfg_pull_up>, <1 RK_PC4 2 &pcfg_pull_up>,
<1 21 RK_FUNC_2 &pcfg_pull_up>; <1 RK_PC5 2 &pcfg_pull_up>;
}; };
emmc_bus8: emmc-bus8 { emmc_bus8: emmc-bus8 {
rockchip,pins = <1 18 RK_FUNC_2 &pcfg_pull_up>, rockchip,pins = <1 RK_PC2 2 &pcfg_pull_up>,
<1 19 RK_FUNC_2 &pcfg_pull_up>, <1 RK_PC3 2 &pcfg_pull_up>,
<1 20 RK_FUNC_2 &pcfg_pull_up>, <1 RK_PC4 2 &pcfg_pull_up>,
<1 21 RK_FUNC_2 &pcfg_pull_up>, <1 RK_PC5 2 &pcfg_pull_up>,
<1 22 RK_FUNC_2 &pcfg_pull_up>, <1 RK_PC6 2 &pcfg_pull_up>,
<1 23 RK_FUNC_2 &pcfg_pull_up>, <1 RK_PC7 2 &pcfg_pull_up>,
<1 24 RK_FUNC_2 &pcfg_pull_up>, <1 RK_PD0 2 &pcfg_pull_up>,
<1 25 RK_FUNC_2 &pcfg_pull_up>; <1 RK_PD1 2 &pcfg_pull_up>;
}; };
}; };
gmac { gmac {
rgmii_pins: rgmii-pins { rgmii_pins: rgmii-pins {
rockchip,pins = <3 22 RK_FUNC_1 &pcfg_pull_none>, rockchip,pins = <3 RK_PC6 1 &pcfg_pull_none>,
<3 24 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD0 1 &pcfg_pull_none>,
<3 19 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PC3 1 &pcfg_pull_none>,
<3 8 RK_FUNC_1 &pcfg_pull_none_12ma>, <3 RK_PB0 1 &pcfg_pull_none_12ma>,
<3 9 RK_FUNC_1 &pcfg_pull_none_12ma>, <3 RK_PB1 1 &pcfg_pull_none_12ma>,
<3 10 RK_FUNC_1 &pcfg_pull_none_12ma>, <3 RK_PB2 1 &pcfg_pull_none_12ma>,
<3 14 RK_FUNC_1 &pcfg_pull_none_12ma>, <3 RK_PB6 1 &pcfg_pull_none_12ma>,
<3 28 RK_FUNC_1 &pcfg_pull_none_12ma>, <3 RK_PD4 1 &pcfg_pull_none_12ma>,
<3 13 RK_FUNC_1 &pcfg_pull_none_12ma>, <3 RK_PB5 1 &pcfg_pull_none_12ma>,
<3 15 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PB7 1 &pcfg_pull_none>,
<3 16 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PC0 1 &pcfg_pull_none>,
<3 17 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PC1 1 &pcfg_pull_none>,
<3 18 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PC2 1 &pcfg_pull_none>,
<3 25 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD1 1 &pcfg_pull_none>,
<3 20 RK_FUNC_1 &pcfg_pull_none>; <3 RK_PC4 1 &pcfg_pull_none>;
}; };
rmii_pins: rmii-pins { rmii_pins: rmii-pins {
rockchip,pins = <3 22 RK_FUNC_1 &pcfg_pull_none>, rockchip,pins = <3 RK_PC6 1 &pcfg_pull_none>,
<3 24 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD0 1 &pcfg_pull_none>,
<3 19 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PC3 1 &pcfg_pull_none>,
<3 8 RK_FUNC_1 &pcfg_pull_none_12ma>, <3 RK_PB0 1 &pcfg_pull_none_12ma>,
<3 9 RK_FUNC_1 &pcfg_pull_none_12ma>, <3 RK_PB1 1 &pcfg_pull_none_12ma>,
<3 13 RK_FUNC_1 &pcfg_pull_none_12ma>, <3 RK_PB5 1 &pcfg_pull_none_12ma>,
<3 15 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PB7 1 &pcfg_pull_none>,
<3 16 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PC0 1 &pcfg_pull_none>,
<3 20 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PC4 1 &pcfg_pull_none>,
<3 21 RK_FUNC_1 &pcfg_pull_none>; <3 RK_PC5 1 &pcfg_pull_none>;
}; };
}; };
i2c0 { i2c0 {
i2c0_xfer: i2c0-xfer { i2c0_xfer: i2c0-xfer {
rockchip,pins = <0 6 RK_FUNC_1 &pcfg_pull_none>, rockchip,pins = <0 RK_PA6 1 &pcfg_pull_none>,
<0 7 RK_FUNC_1 &pcfg_pull_none>; <0 RK_PA7 1 &pcfg_pull_none>;
}; };
}; };
i2c1 { i2c1 {
i2c1_xfer: i2c1-xfer { i2c1_xfer: i2c1-xfer {
rockchip,pins = <2 21 RK_FUNC_1 &pcfg_pull_none>, rockchip,pins = <2 RK_PC5 1 &pcfg_pull_none>,
<2 22 RK_FUNC_1 &pcfg_pull_none>; <2 RK_PC6 1 &pcfg_pull_none>;
}; };
}; };
i2c2 { i2c2 {
i2c2_xfer: i2c2-xfer { i2c2_xfer: i2c2-xfer {
rockchip,pins = <0 9 RK_FUNC_2 &pcfg_pull_none>, rockchip,pins = <0 RK_PB1 2 &pcfg_pull_none>,
<3 31 RK_FUNC_2 &pcfg_pull_none>; <3 RK_PD7 2 &pcfg_pull_none>;
}; };
}; };
i2c3 { i2c3 {
i2c3_xfer: i2c3-xfer { i2c3_xfer: i2c3-xfer {
rockchip,pins = <1 16 RK_FUNC_1 &pcfg_pull_none>, rockchip,pins = <1 RK_PC0 1 &pcfg_pull_none>,
<1 17 RK_FUNC_1 &pcfg_pull_none>; <1 RK_PC1 1 &pcfg_pull_none>;
}; };
}; };
i2c4 { i2c4 {
i2c4_xfer: i2c4-xfer { i2c4_xfer: i2c4-xfer {
rockchip,pins = <3 24 RK_FUNC_2 &pcfg_pull_none>, rockchip,pins = <3 RK_PD0 2 &pcfg_pull_none>,
<3 25 RK_FUNC_2 &pcfg_pull_none>; <3 RK_PD1 2 &pcfg_pull_none>;
}; };
}; };
i2c5 { i2c5 {
i2c5_xfer: i2c5-xfer { i2c5_xfer: i2c5-xfer {
rockchip,pins = <3 26 RK_FUNC_2 &pcfg_pull_none>, rockchip,pins = <3 RK_PD2 2 &pcfg_pull_none>,
<3 27 RK_FUNC_2 &pcfg_pull_none>; <3 RK_PD3 2 &pcfg_pull_none>;
}; };
}; };
i2s { i2s {
i2s_8ch_bus: i2s-8ch-bus { i2s_8ch_bus: i2s-8ch-bus {
rockchip,pins = <2 12 RK_FUNC_1 &pcfg_pull_none>, rockchip,pins = <2 RK_PB4 1 &pcfg_pull_none>,
<2 13 RK_FUNC_1 &pcfg_pull_none>, <2 RK_PB5 1 &pcfg_pull_none>,
<2 14 RK_FUNC_1 &pcfg_pull_none>, <2 RK_PB6 1 &pcfg_pull_none>,
<2 15 RK_FUNC_1 &pcfg_pull_none>, <2 RK_PB7 1 &pcfg_pull_none>,
<2 16 RK_FUNC_1 &pcfg_pull_none>, <2 RK_PC0 1 &pcfg_pull_none>,
<2 17 RK_FUNC_1 &pcfg_pull_none>, <2 RK_PC1 1 &pcfg_pull_none>,
<2 18 RK_FUNC_1 &pcfg_pull_none>, <2 RK_PC2 1 &pcfg_pull_none>,
<2 19 RK_FUNC_1 &pcfg_pull_none>, <2 RK_PC3 1 &pcfg_pull_none>,
<2 20 RK_FUNC_1 &pcfg_pull_none>; <2 RK_PC4 1 &pcfg_pull_none>;
}; };
}; };
pwm0 { pwm0 {
pwm0_pin: pwm0-pin { pwm0_pin: pwm0-pin {
rockchip,pins = <3 8 RK_FUNC_2 &pcfg_pull_none>; rockchip,pins = <3 RK_PB0 2 &pcfg_pull_none>;
}; };
}; };
pwm1 { pwm1 {
pwm1_pin: pwm1-pin { pwm1_pin: pwm1-pin {
rockchip,pins = <0 8 RK_FUNC_2 &pcfg_pull_none>; rockchip,pins = <0 RK_PB0 2 &pcfg_pull_none>;
}; };
}; };
pwm3 { pwm3 {
pwm3_pin: pwm3-pin { pwm3_pin: pwm3-pin {
rockchip,pins = <3 29 RK_FUNC_3 &pcfg_pull_none>; rockchip,pins = <3 RK_PD5 3 &pcfg_pull_none>;
}; };
}; };
sdio0 { sdio0 {
sdio0_bus1: sdio0-bus1 { sdio0_bus1: sdio0-bus1 {
rockchip,pins = <2 28 RK_FUNC_1 &pcfg_pull_up>; rockchip,pins = <2 RK_PD4 1 &pcfg_pull_up>;
}; };
sdio0_bus4: sdio0-bus4 { sdio0_bus4: sdio0-bus4 {
rockchip,pins = <2 28 RK_FUNC_1 &pcfg_pull_up>, rockchip,pins = <2 RK_PD4 1 &pcfg_pull_up>,
<2 29 RK_FUNC_1 &pcfg_pull_up>, <2 RK_PD5 1 &pcfg_pull_up>,
<2 30 RK_FUNC_1 &pcfg_pull_up>, <2 RK_PD6 1 &pcfg_pull_up>,
<2 31 RK_FUNC_1 &pcfg_pull_up>; <2 RK_PD7 1 &pcfg_pull_up>;
}; };
sdio0_cmd: sdio0-cmd { sdio0_cmd: sdio0-cmd {
rockchip,pins = <3 0 RK_FUNC_1 &pcfg_pull_up>; rockchip,pins = <3 RK_PA0 1 &pcfg_pull_up>;
}; };
sdio0_clk: sdio0-clk { sdio0_clk: sdio0-clk {
rockchip,pins = <3 1 RK_FUNC_1 &pcfg_pull_none>; rockchip,pins = <3 RK_PA1 1 &pcfg_pull_none>;
}; };
sdio0_cd: sdio0-cd { sdio0_cd: sdio0-cd {
rockchip,pins = <3 2 RK_FUNC_1 &pcfg_pull_up>; rockchip,pins = <3 RK_PA2 1 &pcfg_pull_up>;
}; };
sdio0_wp: sdio0-wp { sdio0_wp: sdio0-wp {
rockchip,pins = <3 3 RK_FUNC_1 &pcfg_pull_up>; rockchip,pins = <3 RK_PA3 1 &pcfg_pull_up>;
}; };
sdio0_pwr: sdio0-pwr { sdio0_pwr: sdio0-pwr {
rockchip,pins = <3 4 RK_FUNC_1 &pcfg_pull_up>; rockchip,pins = <3 RK_PA4 1 &pcfg_pull_up>;
}; };
sdio0_bkpwr: sdio0-bkpwr { sdio0_bkpwr: sdio0-bkpwr {
rockchip,pins = <3 5 RK_FUNC_1 &pcfg_pull_up>; rockchip,pins = <3 RK_PA5 1 &pcfg_pull_up>;
}; };
sdio0_int: sdio0-int { sdio0_int: sdio0-int {
rockchip,pins = <3 6 RK_FUNC_1 &pcfg_pull_up>; rockchip,pins = <3 RK_PA6 1 &pcfg_pull_up>;
}; };
}; };
sdmmc { sdmmc {
sdmmc_clk: sdmmc-clk { sdmmc_clk: sdmmc-clk {
rockchip,pins = <2 9 RK_FUNC_1 &pcfg_pull_none>; rockchip,pins = <2 RK_PB1 1 &pcfg_pull_none>;
}; };
sdmmc_cmd: sdmmc-cmd { sdmmc_cmd: sdmmc-cmd {
rockchip,pins = <2 10 RK_FUNC_1 &pcfg_pull_up>; rockchip,pins = <2 RK_PB2 1 &pcfg_pull_up>;
}; };
sdmmc_cd: sdmmc-cd { sdmmc_cd: sdmmc-cd {
rockchip,pins = <2 11 RK_FUNC_1 &pcfg_pull_up>; rockchip,pins = <2 RK_PB3 1 &pcfg_pull_up>;
}; };
sdmmc_bus1: sdmmc-bus1 { sdmmc_bus1: sdmmc-bus1 {
rockchip,pins = <2 5 RK_FUNC_1 &pcfg_pull_up>; rockchip,pins = <2 RK_PA5 1 &pcfg_pull_up>;
}; };
sdmmc_bus4: sdmmc-bus4 { sdmmc_bus4: sdmmc-bus4 {
rockchip,pins = <2 5 RK_FUNC_1 &pcfg_pull_up>, rockchip,pins = <2 RK_PA5 1 &pcfg_pull_up>,
<2 6 RK_FUNC_1 &pcfg_pull_up>, <2 RK_PA6 1 &pcfg_pull_up>,
<2 7 RK_FUNC_1 &pcfg_pull_up>, <2 RK_PA7 1 &pcfg_pull_up>,
<2 8 RK_FUNC_1 &pcfg_pull_up>; <2 RK_PB0 1 &pcfg_pull_up>;
}; };
}; };
spdif { spdif {
spdif_tx: spdif-tx { spdif_tx: spdif-tx {
rockchip,pins = <2 RK_PC7 RK_FUNC_1 &pcfg_pull_none>; rockchip,pins = <2 RK_PC7 1 &pcfg_pull_none>;
}; };
}; };
spi0 { spi0 {
spi0_clk: spi0-clk { spi0_clk: spi0-clk {
rockchip,pins = <1 29 RK_FUNC_2 &pcfg_pull_up>; rockchip,pins = <1 RK_PD5 2 &pcfg_pull_up>;
}; };
spi0_cs0: spi0-cs0 { spi0_cs0: spi0-cs0 {
rockchip,pins = <1 24 RK_FUNC_3 &pcfg_pull_up>; rockchip,pins = <1 RK_PD0 3 &pcfg_pull_up>;
}; };
spi0_cs1: spi0-cs1 { spi0_cs1: spi0-cs1 {
rockchip,pins = <1 25 RK_FUNC_3 &pcfg_pull_up>; rockchip,pins = <1 RK_PD1 3 &pcfg_pull_up>;
}; };
spi0_tx: spi0-tx { spi0_tx: spi0-tx {
rockchip,pins = <1 23 RK_FUNC_3 &pcfg_pull_up>; rockchip,pins = <1 RK_PC7 3 &pcfg_pull_up>;
}; };
spi0_rx: spi0-rx { spi0_rx: spi0-rx {
rockchip,pins = <1 22 RK_FUNC_3 &pcfg_pull_up>; rockchip,pins = <1 RK_PC6 3 &pcfg_pull_up>;
}; };
}; };
spi1 { spi1 {
spi1_clk: spi1-clk { spi1_clk: spi1-clk {
rockchip,pins = <1 14 RK_FUNC_2 &pcfg_pull_up>; rockchip,pins = <1 RK_PB6 2 &pcfg_pull_up>;
}; };
spi1_cs0: spi1-cs0 { spi1_cs0: spi1-cs0 {
rockchip,pins = <1 15 RK_FUNC_2 &pcfg_pull_up>; rockchip,pins = <1 RK_PB7 2 &pcfg_pull_up>;
}; };
spi1_cs1: spi1-cs1 { spi1_cs1: spi1-cs1 {
rockchip,pins = <3 28 RK_FUNC_2 &pcfg_pull_up>; rockchip,pins = <3 RK_PD4 2 &pcfg_pull_up>;
}; };
spi1_rx: spi1-rx { spi1_rx: spi1-rx {
rockchip,pins = <1 16 RK_FUNC_2 &pcfg_pull_up>; rockchip,pins = <1 RK_PC0 2 &pcfg_pull_up>;
}; };
spi1_tx: spi1-tx { spi1_tx: spi1-tx {
rockchip,pins = <1 17 RK_FUNC_2 &pcfg_pull_up>; rockchip,pins = <1 RK_PC1 2 &pcfg_pull_up>;
}; };
}; };
spi2 { spi2 {
spi2_clk: spi2-clk { spi2_clk: spi2-clk {
rockchip,pins = <0 12 RK_FUNC_2 &pcfg_pull_up>; rockchip,pins = <0 RK_PB4 2 &pcfg_pull_up>;
}; };
spi2_cs0: spi2-cs0 { spi2_cs0: spi2-cs0 {
rockchip,pins = <0 13 RK_FUNC_2 &pcfg_pull_up>; rockchip,pins = <0 RK_PB5 2 &pcfg_pull_up>;
}; };
spi2_rx: spi2-rx { spi2_rx: spi2-rx {
rockchip,pins = <0 10 RK_FUNC_2 &pcfg_pull_up>; rockchip,pins = <0 RK_PB2 2 &pcfg_pull_up>;
}; };
spi2_tx: spi2-tx { spi2_tx: spi2-tx {
rockchip,pins = <0 11 RK_FUNC_2 &pcfg_pull_up>; rockchip,pins = <0 RK_PB3 2 &pcfg_pull_up>;
}; };
}; };
tsadc { tsadc {
otp_gpio: otp-gpio { otp_gpio: otp-gpio {
rockchip,pins = <0 3 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
otp_out: otp-out { otp_out: otp-out {
rockchip,pins = <0 3 RK_FUNC_1 &pcfg_pull_none>; rockchip,pins = <0 RK_PA3 1 &pcfg_pull_none>;
}; };
}; };
uart0 { uart0 {
uart0_xfer: uart0-xfer { uart0_xfer: uart0-xfer {
rockchip,pins = <2 24 RK_FUNC_1 &pcfg_pull_up>, rockchip,pins = <2 RK_PD0 1 &pcfg_pull_up>,
<2 25 RK_FUNC_1 &pcfg_pull_none>; <2 RK_PD1 1 &pcfg_pull_none>;
}; };
uart0_cts: uart0-cts { uart0_cts: uart0-cts {
rockchip,pins = <2 26 RK_FUNC_1 &pcfg_pull_none>; rockchip,pins = <2 RK_PD2 1 &pcfg_pull_none>;
}; };
uart0_rts: uart0-rts { uart0_rts: uart0-rts {
rockchip,pins = <2 27 RK_FUNC_1 &pcfg_pull_none>; rockchip,pins = <2 RK_PD3 1 &pcfg_pull_none>;
}; };
}; };
uart1 { uart1 {
uart1_xfer: uart1-xfer { uart1_xfer: uart1-xfer {
rockchip,pins = <0 20 RK_FUNC_3 &pcfg_pull_up>, rockchip,pins = <0 RK_PC4 3 &pcfg_pull_up>,
<0 21 RK_FUNC_3 &pcfg_pull_none>; <0 RK_PC5 3 &pcfg_pull_none>;
}; };
uart1_cts: uart1-cts { uart1_cts: uart1-cts {
rockchip,pins = <0 22 RK_FUNC_3 &pcfg_pull_none>; rockchip,pins = <0 RK_PC6 3 &pcfg_pull_none>;
}; };
uart1_rts: uart1-rts { uart1_rts: uart1-rts {
rockchip,pins = <0 23 RK_FUNC_3 &pcfg_pull_none>; rockchip,pins = <0 RK_PC7 3 &pcfg_pull_none>;
}; };
}; };
uart2 { uart2 {
uart2_xfer: uart2-xfer { uart2_xfer: uart2-xfer {
rockchip,pins = <2 6 RK_FUNC_2 &pcfg_pull_up>, rockchip,pins = <2 RK_PA6 2 &pcfg_pull_up>,
<2 5 RK_FUNC_2 &pcfg_pull_none>; <2 RK_PA5 2 &pcfg_pull_none>;
}; };
/* no rts / cts for uart2 */ /* no rts / cts for uart2 */
}; };
uart3 { uart3 {
uart3_xfer: uart3-xfer { uart3_xfer: uart3-xfer {
rockchip,pins = <3 29 RK_FUNC_2 &pcfg_pull_up>, rockchip,pins = <3 RK_PD5 2 &pcfg_pull_up>,
<3 30 RK_FUNC_3 &pcfg_pull_none>; <3 RK_PD6 3 &pcfg_pull_none>;
}; };
uart3_cts: uart3-cts { uart3_cts: uart3-cts {
rockchip,pins = <3 16 RK_FUNC_2 &pcfg_pull_none>; rockchip,pins = <3 RK_PC0 2 &pcfg_pull_none>;
}; };
uart3_rts: uart3-rts { uart3_rts: uart3-rts {
rockchip,pins = <3 17 RK_FUNC_2 &pcfg_pull_none>; rockchip,pins = <3 RK_PC1 2 &pcfg_pull_none>;
}; };
}; };
uart4 { uart4 {
uart4_xfer: uart4-xfer { uart4_xfer: uart4-xfer {
rockchip,pins = <0 27 RK_FUNC_3 &pcfg_pull_up>, rockchip,pins = <0 RK_PD3 3 &pcfg_pull_up>,
<0 26 RK_FUNC_3 &pcfg_pull_none>; <0 RK_PD2 3 &pcfg_pull_none>;
}; };
uart4_cts: uart4-cts { uart4_cts: uart4-cts {
rockchip,pins = <0 24 RK_FUNC_3 &pcfg_pull_none>; rockchip,pins = <0 RK_PD0 3 &pcfg_pull_none>;
}; };
uart4_rts: uart4-rts { uart4_rts: uart4-rts {
rockchip,pins = <0 25 RK_FUNC_3 &pcfg_pull_none>; rockchip,pins = <0 RK_PD1 3 &pcfg_pull_none>;
}; };
}; };
}; };
......
...@@ -208,19 +208,19 @@ &pinctrl { ...@@ -208,19 +208,19 @@ &pinctrl {
pmic { pmic {
pmic_int_l: pmic-int-l { pmic_int_l: pmic-int-l {
rockchip,pins = rockchip,pins =
<1 21 RK_FUNC_GPIO &pcfg_pull_up>; <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
pmic_dvs2: pmic-dvs2 { pmic_dvs2: pmic-dvs2 {
rockchip,pins = rockchip,pins =
<1 18 RK_FUNC_GPIO &pcfg_pull_down>; <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>;
}; };
}; };
usb2 { usb2 {
vcc5v0_host_en: vcc5v0-host-en { vcc5v0_host_en: vcc5v0-host-en {
rockchip,pins = rockchip,pins =
<4 25 RK_FUNC_GPIO &pcfg_pull_none>; <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
}; };
...@@ -95,53 +95,53 @@ &pinctrl { ...@@ -95,53 +95,53 @@ &pinctrl {
gmac { gmac {
rgmii_sleep_pins: rgmii-sleep-pins { rgmii_sleep_pins: rgmii-sleep-pins {
rockchip,pins = rockchip,pins =
<3 15 RK_FUNC_GPIO &pcfg_output_low>; <3 RK_PB7 RK_FUNC_GPIO &pcfg_output_low>;
}; };
}; };
pcie { pcie {
pcie_drv: pcie-drv { pcie_drv: pcie-drv {
rockchip,pins = rockchip,pins =
<1 24 RK_FUNC_GPIO &pcfg_pull_none>; <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
usb2 { usb2 {
host_vbus_drv: host-vbus-drv { host_vbus_drv: host-vbus-drv {
rockchip,pins = rockchip,pins =
<4 27 RK_FUNC_GPIO &pcfg_pull_none>; <4 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
leds { leds {
user_led1: user_led1 { user_led1: user_led1 {
rockchip,pins = rockchip,pins =
<4 25 RK_FUNC_GPIO &pcfg_pull_none>; <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
user_led2: user_led2 { user_led2: user_led2 {
rockchip,pins = rockchip,pins =
<4 26 RK_FUNC_GPIO &pcfg_pull_none>; <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
user_led3: user_led3 { user_led3: user_led3 {
rockchip,pins = rockchip,pins =
<4 30 RK_FUNC_GPIO &pcfg_pull_none>; <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
user_led4: user_led4 { user_led4: user_led4 {
rockchip,pins = rockchip,pins =
<1 0 RK_FUNC_GPIO &pcfg_pull_none>; <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
wlan_led: wlan_led { wlan_led: wlan_led {
rockchip,pins = rockchip,pins =
<1 1 RK_FUNC_GPIO &pcfg_pull_none>; <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
bt_led: bt_led { bt_led: bt_led {
rockchip,pins = rockchip,pins =
<1 4 RK_FUNC_GPIO &pcfg_pull_none>; <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
}; };
......
...@@ -73,7 +73,7 @@ &spi0 { ...@@ -73,7 +73,7 @@ &spi0 {
&pinctrl { &pinctrl {
tpm { tpm {
h1_int_od_l: h1-int-od-l { h1_int_od_l: h1-int-od-l {
rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
}; };
...@@ -365,27 +365,27 @@ &usbdrd_dwc3_1 { ...@@ -365,27 +365,27 @@ &usbdrd_dwc3_1 {
&pinctrl { &pinctrl {
discrete-regulators { discrete-regulators {
pp1500_en: pp1500-en { pp1500_en: pp1500-en {
rockchip,pins = <RK_GPIO0 10 RK_FUNC_GPIO rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO
&pcfg_pull_none>; &pcfg_pull_none>;
}; };
pp1800_audio_en: pp1800-audio-en { pp1800_audio_en: pp1800-audio-en {
rockchip,pins = <RK_GPIO0 2 RK_FUNC_GPIO rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO
&pcfg_pull_down>; &pcfg_pull_down>;
}; };
pp3000_en: pp3000-en { pp3000_en: pp3000-en {
rockchip,pins = <RK_GPIO0 12 RK_FUNC_GPIO rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO
&pcfg_pull_none>; &pcfg_pull_none>;
}; };
pp3300_disp_en: pp3300-disp-en { pp3300_disp_en: pp3300-disp-en {
rockchip,pins = <RK_GPIO4 27 RK_FUNC_GPIO rockchip,pins = <4 RK_PD3 RK_FUNC_GPIO
&pcfg_pull_none>; &pcfg_pull_none>;
}; };
wlan_module_pd_l: wlan-module-pd-l { wlan_module_pd_l: wlan-module-pd-l {
rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO
&pcfg_pull_down>; &pcfg_pull_down>;
}; };
}; };
...@@ -393,10 +393,10 @@ wlan_module_pd_l: wlan-module-pd-l { ...@@ -393,10 +393,10 @@ wlan_module_pd_l: wlan-module-pd-l {
&wifi { &wifi {
wifi_perst_l: wifi-perst-l { wifi_perst_l: wifi-perst-l {
rockchip,pins = <2 27 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
wlan_host_wake_l: wlan-host-wake-l { wlan_host_wake_l: wlan-host-wake-l {
rockchip,pins = <0 8 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
...@@ -290,24 +290,24 @@ &pinctrl { ...@@ -290,24 +290,24 @@ &pinctrl {
digitizer { digitizer {
/* Has external pullup */ /* Has external pullup */
cpu1_dig_irq_l: cpu1-dig-irq-l { cpu1_dig_irq_l: cpu1-dig-irq-l {
rockchip,pins = <2 4 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <2 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
/* Has external pullup */ /* Has external pullup */
cpu1_dig_pdct_l: cpu1-dig-pdct-l { cpu1_dig_pdct_l: cpu1-dig-pdct-l {
rockchip,pins = <2 5 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <2 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
discrete-regulators { discrete-regulators {
cpu3_pen_pwr_en: cpu3-pen-pwr-en { cpu3_pen_pwr_en: cpu3-pen-pwr-en {
rockchip,pins = <4 30 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
pen { pen {
cpu1_pen_eject: cpu1-pen-eject { cpu1_pen_eject: cpu1-pen-eject {
rockchip,pins = <0 13 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
}; };
...@@ -455,58 +455,58 @@ qca_bt: bluetooth@1 { ...@@ -455,58 +455,58 @@ qca_bt: bluetooth@1 {
/* PINCTRL OVERRIDES */ /* PINCTRL OVERRIDES */
&ec_ap_int_l { &ec_ap_int_l {
rockchip,pins = <1 18 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
&ap_fw_wp { &ap_fw_wp {
rockchip,pins = <0 13 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
&bl_en { &bl_en {
rockchip,pins = <4 21 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <4 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
&bt_host_wake_l { &bt_host_wake_l {
rockchip,pins = <1 2 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
&ec_ap_int_l { &ec_ap_int_l {
rockchip,pins = <1 18 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
&headset_int_l { &headset_int_l {
rockchip,pins = <1 23 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
&i2s0_8ch_bus { &i2s0_8ch_bus {
rockchip,pins = rockchip,pins =
<3 24 RK_FUNC_1 &pcfg_pull_none_6ma>, <3 RK_PD0 1 &pcfg_pull_none_6ma>,
<3 25 RK_FUNC_1 &pcfg_pull_none_6ma>, <3 RK_PD1 1 &pcfg_pull_none_6ma>,
<3 26 RK_FUNC_1 &pcfg_pull_none_6ma>, <3 RK_PD2 1 &pcfg_pull_none_6ma>,
<3 27 RK_FUNC_1 &pcfg_pull_none_6ma>, <3 RK_PD3 1 &pcfg_pull_none_6ma>,
<3 31 RK_FUNC_1 &pcfg_pull_none_6ma>, <3 RK_PD7 1 &pcfg_pull_none_6ma>,
<4 0 RK_FUNC_1 &pcfg_pull_none_6ma>; <4 RK_PA0 1 &pcfg_pull_none_6ma>;
}; };
/* there is no external pull up, so need to set this pin pull up */ /* there is no external pull up, so need to set this pin pull up */
&sdmmc_cd_gpio { &sdmmc_cd_gpio {
rockchip,pins = <1 11 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <1 RK_PB3 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
&sd_pwr_1800_sel { &sd_pwr_1800_sel {
rockchip,pins = <2 28 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <2 RK_PD4 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
&sdmode_en { &sdmode_en {
rockchip,pins = <0 2 RK_FUNC_GPIO &pcfg_pull_down>; rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_down>;
}; };
&touch_reset_l { &touch_reset_l {
rockchip,pins = <0 10 RK_FUNC_GPIO &pcfg_pull_down>; rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_down>;
}; };
&touch_int_l { &touch_int_l {
rockchip,pins = <1 4 RK_FUNC_GPIO &pcfg_pull_down>; rockchip,pins = <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_down>;
}; };
&pinctrl { &pinctrl {
...@@ -523,84 +523,84 @@ pcfg_pull_none_6ma: pcfg-pull-none-6ma { ...@@ -523,84 +523,84 @@ pcfg_pull_none_6ma: pcfg-pull-none-6ma {
camera { camera {
pp1250_cam_en: pp1250-dvdd { pp1250_cam_en: pp1250-dvdd {
rockchip,pins = <2 4 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <2 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
pp2800_cam_en: pp2800-avdd { pp2800_cam_en: pp2800-avdd {
rockchip,pins = <2 24 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <2 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
ucam_rst: ucam_rst { ucam_rst: ucam_rst {
rockchip,pins = <2 3 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <2 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
wcam_rst: wcam_rst { wcam_rst: wcam_rst {
rockchip,pins = <2 5 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <2 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
digitizer { digitizer {
pen_int_odl: pen-int-odl { pen_int_odl: pen-int-odl {
rockchip,pins = <1 0 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
pen_reset_l: pen-reset-l { pen_reset_l: pen-reset-l {
rockchip,pins = <0 12 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
discrete-regulators { discrete-regulators {
display_rst_l: display-rst-l { display_rst_l: display-rst-l {
rockchip,pins = <4 25 RK_FUNC_GPIO &pcfg_pull_down>; rockchip,pins = <4 RK_PD1 RK_FUNC_GPIO &pcfg_pull_down>;
}; };
ppvarp_lcd_en: ppvarp-lcd-en { ppvarp_lcd_en: ppvarp-lcd-en {
rockchip,pins = <4 27 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <4 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
ppvarn_lcd_en: ppvarn-lcd-en { ppvarn_lcd_en: ppvarn-lcd-en {
rockchip,pins = <4 28 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <4 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
dmic { dmic {
dmic_en: dmic-en { dmic_en: dmic-en {
rockchip,pins = <4 3 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
pen { pen {
pen_eject_odl: pen-eject-odl { pen_eject_odl: pen-eject-odl {
rockchip,pins = <1 1 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
tpm { tpm {
h1_int_od_l: h1-int-od-l { h1_int_od_l: h1-int-od-l {
rockchip,pins = <1 17 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
}; };
&wifi { &wifi {
bt_en_1v8_l: bt-en-1v8-l { bt_en_1v8_l: bt-en-1v8-l {
rockchip,pins = <0 8 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
wlan_pd_1v8_l: wlan-pd-1v8-l { wlan_pd_1v8_l: wlan-pd-1v8-l {
rockchip,pins = <0 4 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
/* Default pull-up, but just to be clear */ /* Default pull-up, but just to be clear */
wlan_rf_kill_1v8_l: wlan-rf-kill-1v8-l { wlan_rf_kill_1v8_l: wlan-rf-kill-1v8-l {
rockchip,pins = <0 5 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
wifi_perst_l: wifi-perst-l { wifi_perst_l: wifi-perst-l {
rockchip,pins = <0 3 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
wlan_host_wake_l: wlan-host-wake-l { wlan_host_wake_l: wlan-host-wake-l {
rockchip,pins = <1 3 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
...@@ -676,29 +676,29 @@ pcfg_pull_none_8ma: pcfg-pull-none-8ma { ...@@ -676,29 +676,29 @@ pcfg_pull_none_8ma: pcfg-pull-none-8ma {
backlight-enable { backlight-enable {
bl_en: bl-en { bl_en: bl-en {
rockchip,pins = <1 17 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
cros-ec { cros-ec {
ec_ap_int_l: ec-ap-int-l { ec_ap_int_l: ec-ap-int-l {
rockchip,pins = <RK_GPIO0 1 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
discrete-regulators { discrete-regulators {
sd_io_pwr_en: sd-io-pwr-en { sd_io_pwr_en: sd-io-pwr-en {
rockchip,pins = <RK_GPIO2 2 RK_FUNC_GPIO rockchip,pins = <2 RK_PA2 RK_FUNC_GPIO
&pcfg_pull_none>; &pcfg_pull_none>;
}; };
sd_pwr_1800_sel: sd-pwr-1800-sel { sd_pwr_1800_sel: sd-pwr-1800-sel {
rockchip,pins = <RK_GPIO2 28 RK_FUNC_GPIO rockchip,pins = <2 RK_PD4 RK_FUNC_GPIO
&pcfg_pull_none>; &pcfg_pull_none>;
}; };
sd_slot_pwr_en: sd-slot-pwr-en { sd_slot_pwr_en: sd-slot-pwr-en {
rockchip,pins = <RK_GPIO4 29 RK_FUNC_GPIO rockchip,pins = <4 RK_PD5 RK_FUNC_GPIO
&pcfg_pull_none>; &pcfg_pull_none>;
}; };
}; };
...@@ -706,17 +706,17 @@ sd_slot_pwr_en: sd-slot-pwr-en { ...@@ -706,17 +706,17 @@ sd_slot_pwr_en: sd-slot-pwr-en {
codec { codec {
/* Has external pullup */ /* Has external pullup */
headset_int_l: headset-int-l { headset_int_l: headset-int-l {
rockchip,pins = <1 23 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <1 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
mic_int: mic-int { mic_int: mic-int {
rockchip,pins = <1 13 RK_FUNC_GPIO &pcfg_pull_down>; rockchip,pins = <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_down>;
}; };
}; };
max98357a { max98357a {
sdmode_en: sdmode-en { sdmode_en: sdmode-en {
rockchip,pins = <1 2 RK_FUNC_GPIO &pcfg_pull_down>; rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_down>;
}; };
}; };
...@@ -727,7 +727,7 @@ pcie_clkreqn_cpm: pci-clkreqn-cpm { ...@@ -727,7 +727,7 @@ pcie_clkreqn_cpm: pci-clkreqn-cpm {
* to hack this as gpio, so the EP could be able to * to hack this as gpio, so the EP could be able to
* de-assert it along and make ClockPM(CPM) work. * de-assert it along and make ClockPM(CPM) work.
*/ */
rockchip,pins = <2 26 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <2 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
...@@ -738,20 +738,20 @@ sdmmc { ...@@ -738,20 +738,20 @@ sdmmc {
*/ */
sdmmc_bus4: sdmmc-bus4 { sdmmc_bus4: sdmmc-bus4 {
rockchip,pins = rockchip,pins =
<4 8 RK_FUNC_1 &pcfg_pull_none_8ma>, <4 RK_PB0 1 &pcfg_pull_none_8ma>,
<4 9 RK_FUNC_1 &pcfg_pull_none_8ma>, <4 RK_PB1 1 &pcfg_pull_none_8ma>,
<4 10 RK_FUNC_1 &pcfg_pull_none_8ma>, <4 RK_PB2 1 &pcfg_pull_none_8ma>,
<4 11 RK_FUNC_1 &pcfg_pull_none_8ma>; <4 RK_PB3 1 &pcfg_pull_none_8ma>;
}; };
sdmmc_clk: sdmmc-clk { sdmmc_clk: sdmmc-clk {
rockchip,pins = rockchip,pins =
<4 12 RK_FUNC_1 &pcfg_pull_none_8ma>; <4 RK_PB4 1 &pcfg_pull_none_8ma>;
}; };
sdmmc_cmd: sdmmc-cmd { sdmmc_cmd: sdmmc-cmd {
rockchip,pins = rockchip,pins =
<4 13 RK_FUNC_1 &pcfg_pull_none_8ma>; <4 RK_PB5 1 &pcfg_pull_none_8ma>;
}; };
/* /*
...@@ -765,12 +765,12 @@ sdmmc_cmd: sdmmc-cmd { ...@@ -765,12 +765,12 @@ sdmmc_cmd: sdmmc-cmd {
*/ */
sdmmc_cd: sdmmc-cd { sdmmc_cd: sdmmc-cd {
rockchip,pins = rockchip,pins =
<0 7 RK_FUNC_1 &pcfg_pull_none>; <0 RK_PA7 1 &pcfg_pull_none>;
}; };
/* This is where we actually hook up CD; has external pull */ /* This is where we actually hook up CD; has external pull */
sdmmc_cd_gpio: sdmmc-cd-gpio { sdmmc_cd_gpio: sdmmc-cd-gpio {
rockchip,pins = <4 24 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
...@@ -780,47 +780,47 @@ spi1_sleep: spi1-sleep { ...@@ -780,47 +780,47 @@ spi1_sleep: spi1-sleep {
* Pull down SPI1 CLK/CS/RX/TX during suspend, to * Pull down SPI1 CLK/CS/RX/TX during suspend, to
* prevent leakage. * prevent leakage.
*/ */
rockchip,pins = <1 9 RK_FUNC_GPIO &pcfg_pull_down>, rockchip,pins = <1 RK_PB1 RK_FUNC_GPIO &pcfg_pull_down>,
<1 10 RK_FUNC_GPIO &pcfg_pull_down>, <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_down>,
<1 7 RK_FUNC_GPIO &pcfg_pull_down>, <1 RK_PA7 RK_FUNC_GPIO &pcfg_pull_down>,
<1 8 RK_FUNC_GPIO &pcfg_pull_down>; <1 RK_PB0 RK_FUNC_GPIO &pcfg_pull_down>;
}; };
}; };
touchscreen { touchscreen {
touch_int_l: touch-int-l { touch_int_l: touch-int-l {
rockchip,pins = <3 13 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <3 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
touch_reset_l: touch-reset-l { touch_reset_l: touch-reset-l {
rockchip,pins = <4 26 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
trackpad { trackpad {
ap_i2c_tp_pu_en: ap-i2c-tp-pu-en { ap_i2c_tp_pu_en: ap-i2c-tp-pu-en {
rockchip,pins = <3 12 RK_FUNC_GPIO &pcfg_output_high>; rockchip,pins = <3 RK_PB4 RK_FUNC_GPIO &pcfg_output_high>;
}; };
trackpad_int_l: trackpad-int-l { trackpad_int_l: trackpad-int-l {
rockchip,pins = <1 4 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
wifi: wifi { wifi: wifi {
wlan_module_reset_l: wlan-module-reset-l { wlan_module_reset_l: wlan-module-reset-l {
rockchip,pins = <1 11 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <1 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
bt_host_wake_l: bt-host-wake-l { bt_host_wake_l: bt-host-wake-l {
/* Kevin has an external pull up, but Gru does not */ /* Kevin has an external pull up, but Gru does not */
rockchip,pins = <0 3 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
write-protect { write-protect {
ap_fw_wp: ap-fw-wp { ap_fw_wp: ap-fw-wp {
rockchip,pins = <1 18 RK_FUNC_GPIO &pcfg_pull_up>; rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
}; };
...@@ -125,7 +125,7 @@ &pinctrl { ...@@ -125,7 +125,7 @@ &pinctrl {
ir { ir {
ir_rx: ir-rx { ir_rx: ir-rx {
/* external pullup to VCC3V3_SYS, despite being 1.8V :/ */ /* external pullup to VCC3V3_SYS, despite being 1.8V :/ */
rockchip,pins = <0 RK_PA6 RK_FUNC_1 &pcfg_pull_none>; rockchip,pins = <0 RK_PA6 1 &pcfg_pull_none>;
}; };
}; };
}; };
......
...@@ -547,7 +547,7 @@ pmic_int_l: pmic-int-l { ...@@ -547,7 +547,7 @@ pmic_int_l: pmic-int-l {
sd { sd {
sdmmc0_pwr_h: sdmmc0-pwr-h { sdmmc0_pwr_h: sdmmc0-pwr-h {
rockchip,pins = rockchip,pins =
<RK_GPIO0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
......
...@@ -168,27 +168,27 @@ hog { ...@@ -168,27 +168,27 @@ hog {
haikou_pin_hog: haikou-pin-hog { haikou_pin_hog: haikou-pin-hog {
rockchip,pins = rockchip,pins =
/* LID_BTN */ /* LID_BTN */
<RK_GPIO0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>, <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up>,
/* BATLOW# */ /* BATLOW# */
<RK_GPIO0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>, <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>,
/* SLP_BTN# */ /* SLP_BTN# */
<RK_GPIO0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_up>, <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_up>,
/* BIOS_DISABLE# */ /* BIOS_DISABLE# */
<RK_GPIO0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>; <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
leds { leds {
led_sd_haikou: led-sd-gpio { led_sd_haikou: led-sd-gpio {
rockchip,pins = rockchip,pins =
<RK_GPIO1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
usb2 { usb2 {
otg_vbus_drv: otg-vbus-drv { otg_vbus_drv: otg-vbus-drv {
rockchip,pins = rockchip,pins =
<RK_GPIO0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
}; };
......
...@@ -412,10 +412,10 @@ &i2s0 { ...@@ -412,10 +412,10 @@ &i2s0 {
*/ */
&i2s0_2ch_bus { &i2s0_2ch_bus {
rockchip,pins = rockchip,pins =
<RK_GPIO3 RK_PD0 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD0 1 &pcfg_pull_none>,
<RK_GPIO3 RK_PD2 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD2 1 &pcfg_pull_none>,
<RK_GPIO3 RK_PD3 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD3 1 &pcfg_pull_none>,
<RK_GPIO3 RK_PD7 RK_FUNC_1 &pcfg_pull_none>; <3 RK_PD7 1 &pcfg_pull_none>;
}; };
&io_domains { &io_domains {
...@@ -439,29 +439,29 @@ &pinctrl { ...@@ -439,29 +439,29 @@ &pinctrl {
i2c8 { i2c8 {
i2c8_xfer_a: i2c8-xfer { i2c8_xfer_a: i2c8-xfer {
rockchip,pins = rockchip,pins =
<RK_GPIO1 RK_PC4 RK_FUNC_1 &pcfg_pull_up>, <1 RK_PC4 1 &pcfg_pull_up>,
<RK_GPIO1 RK_PC5 RK_FUNC_1 &pcfg_pull_up>; <1 RK_PC5 1 &pcfg_pull_up>;
}; };
}; };
leds { leds {
led_pin_module: led-module-gpio { led_pin_module: led-module-gpio {
rockchip,pins = rockchip,pins =
<RK_GPIO2 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>; <2 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
pmic { pmic {
pmic_int_l: pmic-int-l { pmic_int_l: pmic-int-l {
rockchip,pins = rockchip,pins =
<RK_GPIO1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>; <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
}; };
usb2 { usb2 {
vcc5v0_host_en: vcc5v0-host-en { vcc5v0_host_en: vcc5v0-host-en {
rockchip,pins = rockchip,pins =
<RK_GPIO4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; <4 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
}; };
......
...@@ -411,62 +411,62 @@ bt_wake_l: bt-wake-l { ...@@ -411,62 +411,62 @@ bt_wake_l: bt-wake-l {
sdmmc { sdmmc {
sdmmc_bus1: sdmmc-bus1 { sdmmc_bus1: sdmmc-bus1 {
rockchip,pins = rockchip,pins =
<4 8 RK_FUNC_1 &pcfg_pull_up_8ma>; <4 RK_PB0 1 &pcfg_pull_up_8ma>;
}; };
sdmmc_bus4: sdmmc-bus4 { sdmmc_bus4: sdmmc-bus4 {
rockchip,pins = rockchip,pins =
<4 8 RK_FUNC_1 &pcfg_pull_up_8ma>, <4 RK_PB0 1 &pcfg_pull_up_8ma>,
<4 9 RK_FUNC_1 &pcfg_pull_up_8ma>, <4 RK_PB1 1 &pcfg_pull_up_8ma>,
<4 10 RK_FUNC_1 &pcfg_pull_up_8ma>, <4 RK_PB2 1 &pcfg_pull_up_8ma>,
<4 11 RK_FUNC_1 &pcfg_pull_up_8ma>; <4 RK_PB3 1 &pcfg_pull_up_8ma>;
}; };
sdmmc_clk: sdmmc-clk { sdmmc_clk: sdmmc-clk {
rockchip,pins = rockchip,pins =
<4 12 RK_FUNC_1 &pcfg_pull_none_18ma>; <4 RK_PB4 1 &pcfg_pull_none_18ma>;
}; };
sdmmc_cmd: sdmmc-cmd { sdmmc_cmd: sdmmc-cmd {
rockchip,pins = rockchip,pins =
<4 13 RK_FUNC_1 &pcfg_pull_up_8ma>; <4 RK_PB5 1 &pcfg_pull_up_8ma>;
}; };
}; };
sdio0 { sdio0 {
sdio0_bus4: sdio0-bus4 { sdio0_bus4: sdio0-bus4 {
rockchip,pins = rockchip,pins =
<2 20 RK_FUNC_1 &pcfg_pull_up_20ma>, <2 RK_PC4 1 &pcfg_pull_up_20ma>,
<2 21 RK_FUNC_1 &pcfg_pull_up_20ma>, <2 RK_PC5 1 &pcfg_pull_up_20ma>,
<2 22 RK_FUNC_1 &pcfg_pull_up_20ma>, <2 RK_PC6 1 &pcfg_pull_up_20ma>,
<2 23 RK_FUNC_1 &pcfg_pull_up_20ma>; <2 RK_PC7 1 &pcfg_pull_up_20ma>;
}; };
sdio0_cmd: sdio0-cmd { sdio0_cmd: sdio0-cmd {
rockchip,pins = rockchip,pins =
<2 24 RK_FUNC_1 &pcfg_pull_up_20ma>; <2 RK_PD0 1 &pcfg_pull_up_20ma>;
}; };
sdio0_clk: sdio0-clk { sdio0_clk: sdio0-clk {
rockchip,pins = rockchip,pins =
<2 25 RK_FUNC_1 &pcfg_pull_none_20ma>; <2 RK_PD1 1 &pcfg_pull_none_20ma>;
}; };
}; };
pmic { pmic {
pmic_int_l: pmic-int-l { pmic_int_l: pmic-int-l {
rockchip,pins = rockchip,pins =
<1 21 RK_FUNC_GPIO &pcfg_pull_up>; <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
}; };
vsel1_gpio: vsel1-gpio { vsel1_gpio: vsel1-gpio {
rockchip,pins = rockchip,pins =
<1 17 RK_FUNC_GPIO &pcfg_pull_down>; <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
}; };
vsel2_gpio: vsel2-gpio { vsel2_gpio: vsel2-gpio {
rockchip,pins = rockchip,pins =
<1 14 RK_FUNC_GPIO &pcfg_pull_down>; <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
}; };
}; };
......
...@@ -508,7 +508,7 @@ &io_domains { ...@@ -508,7 +508,7 @@ &io_domains {
status = "okay"; status = "okay";
bt656-supply = <&vcc1v8_dvp>; bt656-supply = <&vcc1v8_dvp>;
audio-supply = <&vcca1v8_codec>; audio-supply = <&vcc_3v0>;
sdmmc-supply = <&vcc_sdio>; sdmmc-supply = <&vcc_sdio>;
gpio1830-supply = <&vcc_3v0>; gpio1830-supply = <&vcc_3v0>;
}; };
......
...@@ -471,7 +471,7 @@ pwr_btn: pwr-btn { ...@@ -471,7 +471,7 @@ pwr_btn: pwr-btn {
fan { fan {
motor_pwr: motor-pwr { motor_pwr: motor-pwr {
rockchip,pins = rockchip,pins =
<RK_GPIO1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>; <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
...@@ -493,7 +493,7 @@ vsel2_gpio: vsel2-gpio { ...@@ -493,7 +493,7 @@ vsel2_gpio: vsel2-gpio {
sd { sd {
sdmmc0_pwr_h: sdmmc0-pwr-h { sdmmc0_pwr_h: sdmmc0-pwr-h {
rockchip,pins = rockchip,pins =
<RK_GPIO0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
}; };
......
...@@ -2053,14 +2053,14 @@ pcfg_output_low: pcfg-output-low { ...@@ -2053,14 +2053,14 @@ pcfg_output_low: pcfg-output-low {
clock { clock {
clk_32k: clk-32k { clk_32k: clk-32k {
rockchip,pins = <0 0 RK_FUNC_2 &pcfg_pull_none>; rockchip,pins = <0 RK_PA0 2 &pcfg_pull_none>;
}; };
}; };
edp { edp {
edp_hpd: edp-hpd { edp_hpd: edp-hpd {
rockchip,pins = rockchip,pins =
<4 23 RK_FUNC_2 &pcfg_pull_none>; <4 RK_PC7 2 &pcfg_pull_none>;
}; };
}; };
...@@ -2068,576 +2068,576 @@ gmac { ...@@ -2068,576 +2068,576 @@ gmac {
rgmii_pins: rgmii-pins { rgmii_pins: rgmii-pins {
rockchip,pins = rockchip,pins =
/* mac_txclk */ /* mac_txclk */
<3 17 RK_FUNC_1 &pcfg_pull_none_13ma>, <3 RK_PC1 1 &pcfg_pull_none_13ma>,
/* mac_rxclk */ /* mac_rxclk */
<3 14 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PB6 1 &pcfg_pull_none>,
/* mac_mdio */ /* mac_mdio */
<3 13 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PB5 1 &pcfg_pull_none>,
/* mac_txen */ /* mac_txen */
<3 12 RK_FUNC_1 &pcfg_pull_none_13ma>, <3 RK_PB4 1 &pcfg_pull_none_13ma>,
/* mac_clk */ /* mac_clk */
<3 11 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PB3 1 &pcfg_pull_none>,
/* mac_rxdv */ /* mac_rxdv */
<3 9 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PB1 1 &pcfg_pull_none>,
/* mac_mdc */ /* mac_mdc */
<3 8 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PB0 1 &pcfg_pull_none>,
/* mac_rxd1 */ /* mac_rxd1 */
<3 7 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PA7 1 &pcfg_pull_none>,
/* mac_rxd0 */ /* mac_rxd0 */
<3 6 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PA6 1 &pcfg_pull_none>,
/* mac_txd1 */ /* mac_txd1 */
<3 5 RK_FUNC_1 &pcfg_pull_none_13ma>, <3 RK_PA5 1 &pcfg_pull_none_13ma>,
/* mac_txd0 */ /* mac_txd0 */
<3 4 RK_FUNC_1 &pcfg_pull_none_13ma>, <3 RK_PA4 1 &pcfg_pull_none_13ma>,
/* mac_rxd3 */ /* mac_rxd3 */
<3 3 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PA3 1 &pcfg_pull_none>,
/* mac_rxd2 */ /* mac_rxd2 */
<3 2 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PA2 1 &pcfg_pull_none>,
/* mac_txd3 */ /* mac_txd3 */
<3 1 RK_FUNC_1 &pcfg_pull_none_13ma>, <3 RK_PA1 1 &pcfg_pull_none_13ma>,
/* mac_txd2 */ /* mac_txd2 */
<3 0 RK_FUNC_1 &pcfg_pull_none_13ma>; <3 RK_PA0 1 &pcfg_pull_none_13ma>;
}; };
rmii_pins: rmii-pins { rmii_pins: rmii-pins {
rockchip,pins = rockchip,pins =
/* mac_mdio */ /* mac_mdio */
<3 13 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PB5 1 &pcfg_pull_none>,
/* mac_txen */ /* mac_txen */
<3 12 RK_FUNC_1 &pcfg_pull_none_13ma>, <3 RK_PB4 1 &pcfg_pull_none_13ma>,
/* mac_clk */ /* mac_clk */
<3 11 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PB3 1 &pcfg_pull_none>,
/* mac_rxer */ /* mac_rxer */
<3 10 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PB2 1 &pcfg_pull_none>,
/* mac_rxdv */ /* mac_rxdv */
<3 9 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PB1 1 &pcfg_pull_none>,
/* mac_mdc */ /* mac_mdc */
<3 8 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PB0 1 &pcfg_pull_none>,
/* mac_rxd1 */ /* mac_rxd1 */
<3 7 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PA7 1 &pcfg_pull_none>,
/* mac_rxd0 */ /* mac_rxd0 */
<3 6 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PA6 1 &pcfg_pull_none>,
/* mac_txd1 */ /* mac_txd1 */
<3 5 RK_FUNC_1 &pcfg_pull_none_13ma>, <3 RK_PA5 1 &pcfg_pull_none_13ma>,
/* mac_txd0 */ /* mac_txd0 */
<3 4 RK_FUNC_1 &pcfg_pull_none_13ma>; <3 RK_PA4 1 &pcfg_pull_none_13ma>;
}; };
}; };
i2c0 { i2c0 {
i2c0_xfer: i2c0-xfer { i2c0_xfer: i2c0-xfer {
rockchip,pins = rockchip,pins =
<1 15 RK_FUNC_2 &pcfg_pull_none>, <1 RK_PB7 2 &pcfg_pull_none>,
<1 16 RK_FUNC_2 &pcfg_pull_none>; <1 RK_PC0 2 &pcfg_pull_none>;
}; };
}; };
i2c1 { i2c1 {
i2c1_xfer: i2c1-xfer { i2c1_xfer: i2c1-xfer {
rockchip,pins = rockchip,pins =
<4 2 RK_FUNC_1 &pcfg_pull_none>, <4 RK_PA2 1 &pcfg_pull_none>,
<4 1 RK_FUNC_1 &pcfg_pull_none>; <4 RK_PA1 1 &pcfg_pull_none>;
}; };
}; };
i2c2 { i2c2 {
i2c2_xfer: i2c2-xfer { i2c2_xfer: i2c2-xfer {
rockchip,pins = rockchip,pins =
<2 1 RK_FUNC_2 &pcfg_pull_none_12ma>, <2 RK_PA1 2 &pcfg_pull_none_12ma>,
<2 0 RK_FUNC_2 &pcfg_pull_none_12ma>; <2 RK_PA0 2 &pcfg_pull_none_12ma>;
}; };
}; };
i2c3 { i2c3 {
i2c3_xfer: i2c3-xfer { i2c3_xfer: i2c3-xfer {
rockchip,pins = rockchip,pins =
<4 17 RK_FUNC_1 &pcfg_pull_none>, <4 RK_PC1 1 &pcfg_pull_none>,
<4 16 RK_FUNC_1 &pcfg_pull_none>; <4 RK_PC0 1 &pcfg_pull_none>;
}; };
}; };
i2c4 { i2c4 {
i2c4_xfer: i2c4-xfer { i2c4_xfer: i2c4-xfer {
rockchip,pins = rockchip,pins =
<1 12 RK_FUNC_1 &pcfg_pull_none>, <1 RK_PB4 1 &pcfg_pull_none>,
<1 11 RK_FUNC_1 &pcfg_pull_none>; <1 RK_PB3 1 &pcfg_pull_none>;
}; };
}; };
i2c5 { i2c5 {
i2c5_xfer: i2c5-xfer { i2c5_xfer: i2c5-xfer {
rockchip,pins = rockchip,pins =
<3 11 RK_FUNC_2 &pcfg_pull_none>, <3 RK_PB3 2 &pcfg_pull_none>,
<3 10 RK_FUNC_2 &pcfg_pull_none>; <3 RK_PB2 2 &pcfg_pull_none>;
}; };
}; };
i2c6 { i2c6 {
i2c6_xfer: i2c6-xfer { i2c6_xfer: i2c6-xfer {
rockchip,pins = rockchip,pins =
<2 10 RK_FUNC_2 &pcfg_pull_none>, <2 RK_PB2 2 &pcfg_pull_none>,
<2 9 RK_FUNC_2 &pcfg_pull_none>; <2 RK_PB1 2 &pcfg_pull_none>;
}; };
}; };
i2c7 { i2c7 {
i2c7_xfer: i2c7-xfer { i2c7_xfer: i2c7-xfer {
rockchip,pins = rockchip,pins =
<2 8 RK_FUNC_2 &pcfg_pull_none>, <2 RK_PB0 2 &pcfg_pull_none>,
<2 7 RK_FUNC_2 &pcfg_pull_none>; <2 RK_PA7 2 &pcfg_pull_none>;
}; };
}; };
i2c8 { i2c8 {
i2c8_xfer: i2c8-xfer { i2c8_xfer: i2c8-xfer {
rockchip,pins = rockchip,pins =
<1 21 RK_FUNC_1 &pcfg_pull_none>, <1 RK_PC5 1 &pcfg_pull_none>,
<1 20 RK_FUNC_1 &pcfg_pull_none>; <1 RK_PC4 1 &pcfg_pull_none>;
}; };
}; };
i2s0 { i2s0 {
i2s0_2ch_bus: i2s0-2ch-bus { i2s0_2ch_bus: i2s0-2ch-bus {
rockchip,pins = rockchip,pins =
<3 24 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD0 1 &pcfg_pull_none>,
<3 25 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD1 1 &pcfg_pull_none>,
<3 26 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD2 1 &pcfg_pull_none>,
<3 27 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD3 1 &pcfg_pull_none>,
<3 31 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD7 1 &pcfg_pull_none>,
<4 0 RK_FUNC_1 &pcfg_pull_none>; <4 RK_PA0 1 &pcfg_pull_none>;
}; };
i2s0_8ch_bus: i2s0-8ch-bus { i2s0_8ch_bus: i2s0-8ch-bus {
rockchip,pins = rockchip,pins =
<3 24 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD0 1 &pcfg_pull_none>,
<3 25 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD1 1 &pcfg_pull_none>,
<3 26 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD2 1 &pcfg_pull_none>,
<3 27 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD3 1 &pcfg_pull_none>,
<3 28 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD4 1 &pcfg_pull_none>,
<3 29 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD5 1 &pcfg_pull_none>,
<3 30 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD6 1 &pcfg_pull_none>,
<3 31 RK_FUNC_1 &pcfg_pull_none>, <3 RK_PD7 1 &pcfg_pull_none>,
<4 0 RK_FUNC_1 &pcfg_pull_none>; <4 RK_PA0 1 &pcfg_pull_none>;
}; };
}; };
i2s1 { i2s1 {
i2s1_2ch_bus: i2s1-2ch-bus { i2s1_2ch_bus: i2s1-2ch-bus {
rockchip,pins = rockchip,pins =
<4 3 RK_FUNC_1 &pcfg_pull_none>, <4 RK_PA3 1 &pcfg_pull_none>,
<4 4 RK_FUNC_1 &pcfg_pull_none>, <4 RK_PA4 1 &pcfg_pull_none>,
<4 5 RK_FUNC_1 &pcfg_pull_none>, <4 RK_PA5 1 &pcfg_pull_none>,
<4 6 RK_FUNC_1 &pcfg_pull_none>, <4 RK_PA6 1 &pcfg_pull_none>,
<4 7 RK_FUNC_1 &pcfg_pull_none>; <4 RK_PA7 1 &pcfg_pull_none>;
}; };
}; };
sdio0 { sdio0 {
sdio0_bus1: sdio0-bus1 { sdio0_bus1: sdio0-bus1 {
rockchip,pins = rockchip,pins =
<2 RK_PC4 RK_FUNC_1 &pcfg_pull_up>; <2 RK_PC4 1 &pcfg_pull_up>;
}; };
sdio0_bus4: sdio0-bus4 { sdio0_bus4: sdio0-bus4 {
rockchip,pins = rockchip,pins =
<2 RK_PC4 RK_FUNC_1 &pcfg_pull_up>, <2 RK_PC4 1 &pcfg_pull_up>,
<2 RK_PC5 RK_FUNC_1 &pcfg_pull_up>, <2 RK_PC5 1 &pcfg_pull_up>,
<2 RK_PC6 RK_FUNC_1 &pcfg_pull_up>, <2 RK_PC6 1 &pcfg_pull_up>,
<2 RK_PC7 RK_FUNC_1 &pcfg_pull_up>; <2 RK_PC7 1 &pcfg_pull_up>;
}; };
sdio0_cmd: sdio0-cmd { sdio0_cmd: sdio0-cmd {
rockchip,pins = rockchip,pins =
<2 RK_PD0 RK_FUNC_1 &pcfg_pull_up>; <2 RK_PD0 1 &pcfg_pull_up>;
}; };
sdio0_clk: sdio0-clk { sdio0_clk: sdio0-clk {
rockchip,pins = rockchip,pins =
<2 RK_PD1 RK_FUNC_1 &pcfg_pull_none>; <2 RK_PD1 1 &pcfg_pull_none>;
}; };
sdio0_cd: sdio0-cd { sdio0_cd: sdio0-cd {
rockchip,pins = rockchip,pins =
<2 RK_PD2 RK_FUNC_1 &pcfg_pull_up>; <2 RK_PD2 1 &pcfg_pull_up>;
}; };
sdio0_pwr: sdio0-pwr { sdio0_pwr: sdio0-pwr {
rockchip,pins = rockchip,pins =
<2 RK_PD3 RK_FUNC_1 &pcfg_pull_up>; <2 RK_PD3 1 &pcfg_pull_up>;
}; };
sdio0_bkpwr: sdio0-bkpwr { sdio0_bkpwr: sdio0-bkpwr {
rockchip,pins = rockchip,pins =
<2 RK_PD4 RK_FUNC_1 &pcfg_pull_up>; <2 RK_PD4 1 &pcfg_pull_up>;
}; };
sdio0_wp: sdio0-wp { sdio0_wp: sdio0-wp {
rockchip,pins = rockchip,pins =
<0 RK_PA3 RK_FUNC_1 &pcfg_pull_up>; <0 RK_PA3 1 &pcfg_pull_up>;
}; };
sdio0_int: sdio0-int { sdio0_int: sdio0-int {
rockchip,pins = rockchip,pins =
<0 RK_PA4 RK_FUNC_1 &pcfg_pull_up>; <0 RK_PA4 1 &pcfg_pull_up>;
}; };
}; };
sdmmc { sdmmc {
sdmmc_bus1: sdmmc-bus1 { sdmmc_bus1: sdmmc-bus1 {
rockchip,pins = rockchip,pins =
<4 RK_PB0 RK_FUNC_1 &pcfg_pull_up>; <4 RK_PB0 1 &pcfg_pull_up>;
}; };
sdmmc_bus4: sdmmc-bus4 { sdmmc_bus4: sdmmc-bus4 {
rockchip,pins = rockchip,pins =
<4 RK_PB0 RK_FUNC_1 &pcfg_pull_up>, <4 RK_PB0 1 &pcfg_pull_up>,
<4 RK_PB1 RK_FUNC_1 &pcfg_pull_up>, <4 RK_PB1 1 &pcfg_pull_up>,
<4 RK_PB2 RK_FUNC_1 &pcfg_pull_up>, <4 RK_PB2 1 &pcfg_pull_up>,
<4 RK_PB3 RK_FUNC_1 &pcfg_pull_up>; <4 RK_PB3 1 &pcfg_pull_up>;
}; };
sdmmc_clk: sdmmc-clk { sdmmc_clk: sdmmc-clk {
rockchip,pins = rockchip,pins =
<4 RK_PB4 RK_FUNC_1 &pcfg_pull_none>; <4 RK_PB4 1 &pcfg_pull_none>;
}; };
sdmmc_cmd: sdmmc-cmd { sdmmc_cmd: sdmmc-cmd {
rockchip,pins = rockchip,pins =
<4 RK_PB5 RK_FUNC_1 &pcfg_pull_up>; <4 RK_PB5 1 &pcfg_pull_up>;
}; };
sdmmc_cd: sdmmc-cd { sdmmc_cd: sdmmc-cd {
rockchip,pins = rockchip,pins =
<0 RK_PA7 RK_FUNC_1 &pcfg_pull_up>; <0 RK_PA7 1 &pcfg_pull_up>;
}; };
sdmmc_wp: sdmmc-wp { sdmmc_wp: sdmmc-wp {
rockchip,pins = rockchip,pins =
<0 RK_PB0 RK_FUNC_1 &pcfg_pull_up>; <0 RK_PB0 1 &pcfg_pull_up>;
}; };
}; };
sleep { sleep {
ap_pwroff: ap-pwroff { ap_pwroff: ap-pwroff {
rockchip,pins = <1 5 RK_FUNC_1 &pcfg_pull_none>; rockchip,pins = <1 RK_PA5 1 &pcfg_pull_none>;
}; };
ddrio_pwroff: ddrio-pwroff { ddrio_pwroff: ddrio-pwroff {
rockchip,pins = <0 1 RK_FUNC_1 &pcfg_pull_none>; rockchip,pins = <0 RK_PA1 1 &pcfg_pull_none>;
}; };
}; };
spdif { spdif {
spdif_bus: spdif-bus { spdif_bus: spdif-bus {
rockchip,pins = rockchip,pins =
<4 21 RK_FUNC_1 &pcfg_pull_none>; <4 RK_PC5 1 &pcfg_pull_none>;
}; };
spdif_bus_1: spdif-bus-1 { spdif_bus_1: spdif-bus-1 {
rockchip,pins = rockchip,pins =
<3 RK_PC0 RK_FUNC_3 &pcfg_pull_none>; <3 RK_PC0 3 &pcfg_pull_none>;
}; };
}; };
spi0 { spi0 {
spi0_clk: spi0-clk { spi0_clk: spi0-clk {
rockchip,pins = rockchip,pins =
<3 6 RK_FUNC_2 &pcfg_pull_up>; <3 RK_PA6 2 &pcfg_pull_up>;
}; };
spi0_cs0: spi0-cs0 { spi0_cs0: spi0-cs0 {
rockchip,pins = rockchip,pins =
<3 7 RK_FUNC_2 &pcfg_pull_up>; <3 RK_PA7 2 &pcfg_pull_up>;
}; };
spi0_cs1: spi0-cs1 { spi0_cs1: spi0-cs1 {
rockchip,pins = rockchip,pins =
<3 8 RK_FUNC_2 &pcfg_pull_up>; <3 RK_PB0 2 &pcfg_pull_up>;
}; };
spi0_tx: spi0-tx { spi0_tx: spi0-tx {
rockchip,pins = rockchip,pins =
<3 5 RK_FUNC_2 &pcfg_pull_up>; <3 RK_PA5 2 &pcfg_pull_up>;
}; };
spi0_rx: spi0-rx { spi0_rx: spi0-rx {
rockchip,pins = rockchip,pins =
<3 4 RK_FUNC_2 &pcfg_pull_up>; <3 RK_PA4 2 &pcfg_pull_up>;
}; };
}; };
spi1 { spi1 {
spi1_clk: spi1-clk { spi1_clk: spi1-clk {
rockchip,pins = rockchip,pins =
<1 9 RK_FUNC_2 &pcfg_pull_up>; <1 RK_PB1 2 &pcfg_pull_up>;
}; };
spi1_cs0: spi1-cs0 { spi1_cs0: spi1-cs0 {
rockchip,pins = rockchip,pins =
<1 10 RK_FUNC_2 &pcfg_pull_up>; <1 RK_PB2 2 &pcfg_pull_up>;
}; };
spi1_rx: spi1-rx { spi1_rx: spi1-rx {
rockchip,pins = rockchip,pins =
<1 7 RK_FUNC_2 &pcfg_pull_up>; <1 RK_PA7 2 &pcfg_pull_up>;
}; };
spi1_tx: spi1-tx { spi1_tx: spi1-tx {
rockchip,pins = rockchip,pins =
<1 8 RK_FUNC_2 &pcfg_pull_up>; <1 RK_PB0 2 &pcfg_pull_up>;
}; };
}; };
spi2 { spi2 {
spi2_clk: spi2-clk { spi2_clk: spi2-clk {
rockchip,pins = rockchip,pins =
<2 11 RK_FUNC_1 &pcfg_pull_up>; <2 RK_PB3 1 &pcfg_pull_up>;
}; };
spi2_cs0: spi2-cs0 { spi2_cs0: spi2-cs0 {
rockchip,pins = rockchip,pins =
<2 12 RK_FUNC_1 &pcfg_pull_up>; <2 RK_PB4 1 &pcfg_pull_up>;
}; };
spi2_rx: spi2-rx { spi2_rx: spi2-rx {
rockchip,pins = rockchip,pins =
<2 9 RK_FUNC_1 &pcfg_pull_up>; <2 RK_PB1 1 &pcfg_pull_up>;
}; };
spi2_tx: spi2-tx { spi2_tx: spi2-tx {
rockchip,pins = rockchip,pins =
<2 10 RK_FUNC_1 &pcfg_pull_up>; <2 RK_PB2 1 &pcfg_pull_up>;
}; };
}; };
spi3 { spi3 {
spi3_clk: spi3-clk { spi3_clk: spi3-clk {
rockchip,pins = rockchip,pins =
<1 17 RK_FUNC_1 &pcfg_pull_up>; <1 RK_PC1 1 &pcfg_pull_up>;
}; };
spi3_cs0: spi3-cs0 { spi3_cs0: spi3-cs0 {
rockchip,pins = rockchip,pins =
<1 18 RK_FUNC_1 &pcfg_pull_up>; <1 RK_PC2 1 &pcfg_pull_up>;
}; };
spi3_rx: spi3-rx { spi3_rx: spi3-rx {
rockchip,pins = rockchip,pins =
<1 15 RK_FUNC_1 &pcfg_pull_up>; <1 RK_PB7 1 &pcfg_pull_up>;
}; };
spi3_tx: spi3-tx { spi3_tx: spi3-tx {
rockchip,pins = rockchip,pins =
<1 16 RK_FUNC_1 &pcfg_pull_up>; <1 RK_PC0 1 &pcfg_pull_up>;
}; };
}; };
spi4 { spi4 {
spi4_clk: spi4-clk { spi4_clk: spi4-clk {
rockchip,pins = rockchip,pins =
<3 2 RK_FUNC_2 &pcfg_pull_up>; <3 RK_PA2 2 &pcfg_pull_up>;
}; };
spi4_cs0: spi4-cs0 { spi4_cs0: spi4-cs0 {
rockchip,pins = rockchip,pins =
<3 3 RK_FUNC_2 &pcfg_pull_up>; <3 RK_PA3 2 &pcfg_pull_up>;
}; };
spi4_rx: spi4-rx { spi4_rx: spi4-rx {
rockchip,pins = rockchip,pins =
<3 0 RK_FUNC_2 &pcfg_pull_up>; <3 RK_PA0 2 &pcfg_pull_up>;
}; };
spi4_tx: spi4-tx { spi4_tx: spi4-tx {
rockchip,pins = rockchip,pins =
<3 1 RK_FUNC_2 &pcfg_pull_up>; <3 RK_PA1 2 &pcfg_pull_up>;
}; };
}; };
spi5 { spi5 {
spi5_clk: spi5-clk { spi5_clk: spi5-clk {
rockchip,pins = rockchip,pins =
<2 22 RK_FUNC_2 &pcfg_pull_up>; <2 RK_PC6 2 &pcfg_pull_up>;
}; };
spi5_cs0: spi5-cs0 { spi5_cs0: spi5-cs0 {
rockchip,pins = rockchip,pins =
<2 23 RK_FUNC_2 &pcfg_pull_up>; <2 RK_PC7 2 &pcfg_pull_up>;
}; };
spi5_rx: spi5-rx { spi5_rx: spi5-rx {
rockchip,pins = rockchip,pins =
<2 20 RK_FUNC_2 &pcfg_pull_up>; <2 RK_PC4 2 &pcfg_pull_up>;
}; };
spi5_tx: spi5-tx { spi5_tx: spi5-tx {
rockchip,pins = rockchip,pins =
<2 21 RK_FUNC_2 &pcfg_pull_up>; <2 RK_PC5 2 &pcfg_pull_up>;
}; };
}; };
testclk { testclk {
test_clkout0: test-clkout0 { test_clkout0: test-clkout0 {
rockchip,pins = rockchip,pins =
<0 0 RK_FUNC_1 &pcfg_pull_none>; <0 RK_PA0 1 &pcfg_pull_none>;
}; };
test_clkout1: test-clkout1 { test_clkout1: test-clkout1 {
rockchip,pins = rockchip,pins =
<2 25 RK_FUNC_2 &pcfg_pull_none>; <2 RK_PD1 2 &pcfg_pull_none>;
}; };
test_clkout2: test-clkout2 { test_clkout2: test-clkout2 {
rockchip,pins = rockchip,pins =
<0 8 RK_FUNC_3 &pcfg_pull_none>; <0 RK_PB0 3 &pcfg_pull_none>;
}; };
}; };
tsadc { tsadc {
otp_gpio: otp-gpio { otp_gpio: otp-gpio {
rockchip,pins = <1 6 RK_FUNC_GPIO &pcfg_pull_none>; rockchip,pins = <1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
}; };
otp_out: otp-out { otp_out: otp-out {
rockchip,pins = <1 6 RK_FUNC_1 &pcfg_pull_none>; rockchip,pins = <1 RK_PA6 1 &pcfg_pull_none>;
}; };
}; };
uart0 { uart0 {
uart0_xfer: uart0-xfer { uart0_xfer: uart0-xfer {
rockchip,pins = rockchip,pins =
<2 16 RK_FUNC_1 &pcfg_pull_up>, <2 RK_PC0 1 &pcfg_pull_up>,
<2 17 RK_FUNC_1 &pcfg_pull_none>; <2 RK_PC1 1 &pcfg_pull_none>;
}; };
uart0_cts: uart0-cts { uart0_cts: uart0-cts {
rockchip,pins = rockchip,pins =
<2 18 RK_FUNC_1 &pcfg_pull_none>; <2 RK_PC2 1 &pcfg_pull_none>;
}; };
uart0_rts: uart0-rts { uart0_rts: uart0-rts {
rockchip,pins = rockchip,pins =
<2 19 RK_FUNC_1 &pcfg_pull_none>; <2 RK_PC3 1 &pcfg_pull_none>;
}; };
}; };
uart1 { uart1 {
uart1_xfer: uart1-xfer { uart1_xfer: uart1-xfer {
rockchip,pins = rockchip,pins =
<3 12 RK_FUNC_2 &pcfg_pull_up>, <3 RK_PB4 2 &pcfg_pull_up>,
<3 13 RK_FUNC_2 &pcfg_pull_none>; <3 RK_PB5 2 &pcfg_pull_none>;
}; };
}; };
uart2a { uart2a {
uart2a_xfer: uart2a-xfer { uart2a_xfer: uart2a-xfer {
rockchip,pins = rockchip,pins =
<4 8 RK_FUNC_2 &pcfg_pull_up>, <4 RK_PB0 2 &pcfg_pull_up>,
<4 9 RK_FUNC_2 &pcfg_pull_none>; <4 RK_PB1 2 &pcfg_pull_none>;
}; };
}; };
uart2b { uart2b {
uart2b_xfer: uart2b-xfer { uart2b_xfer: uart2b-xfer {
rockchip,pins = rockchip,pins =
<4 16 RK_FUNC_2 &pcfg_pull_up>, <4 RK_PC0 2 &pcfg_pull_up>,
<4 17 RK_FUNC_2 &pcfg_pull_none>; <4 RK_PC1 2 &pcfg_pull_none>;
}; };
}; };
uart2c { uart2c {
uart2c_xfer: uart2c-xfer { uart2c_xfer: uart2c-xfer {
rockchip,pins = rockchip,pins =
<4 19 RK_FUNC_1 &pcfg_pull_up>, <4 RK_PC3 1 &pcfg_pull_up>,
<4 20 RK_FUNC_1 &pcfg_pull_none>; <4 RK_PC4 1 &pcfg_pull_none>;
}; };
}; };
uart3 { uart3 {
uart3_xfer: uart3-xfer { uart3_xfer: uart3-xfer {
rockchip,pins = rockchip,pins =
<3 14 RK_FUNC_2 &pcfg_pull_up>, <3 RK_PB6 2 &pcfg_pull_up>,
<3 15 RK_FUNC_2 &pcfg_pull_none>; <3 RK_PB7 2 &pcfg_pull_none>;
}; };
uart3_cts: uart3-cts { uart3_cts: uart3-cts {
rockchip,pins = rockchip,pins =
<3 18 RK_FUNC_2 &pcfg_pull_none>; <3 RK_PC0 2 &pcfg_pull_none>;
}; };
uart3_rts: uart3-rts { uart3_rts: uart3-rts {
rockchip,pins = rockchip,pins =
<3 19 RK_FUNC_2 &pcfg_pull_none>; <3 RK_PC1 2 &pcfg_pull_none>;
}; };
}; };
uart4 { uart4 {
uart4_xfer: uart4-xfer { uart4_xfer: uart4-xfer {
rockchip,pins = rockchip,pins =
<1 7 RK_FUNC_1 &pcfg_pull_up>, <1 RK_PA7 1 &pcfg_pull_up>,
<1 8 RK_FUNC_1 &pcfg_pull_none>; <1 RK_PB0 1 &pcfg_pull_none>;
}; };
}; };
uarthdcp { uarthdcp {
uarthdcp_xfer: uarthdcp-xfer { uarthdcp_xfer: uarthdcp-xfer {
rockchip,pins = rockchip,pins =
<4 21 RK_FUNC_2 &pcfg_pull_up>, <4 RK_PC5 2 &pcfg_pull_up>,
<4 22 RK_FUNC_2 &pcfg_pull_none>; <4 RK_PC6 2 &pcfg_pull_none>;
}; };
}; };
pwm0 { pwm0 {
pwm0_pin: pwm0-pin { pwm0_pin: pwm0-pin {
rockchip,pins = rockchip,pins =
<4 RK_PC2 RK_FUNC_1 &pcfg_pull_none>; <4 RK_PC2 1 &pcfg_pull_none>;
}; };
pwm0_pin_pull_down: pwm0-pin-pull-down { pwm0_pin_pull_down: pwm0-pin-pull-down {
rockchip,pins = rockchip,pins =
<4 RK_PC2 RK_FUNC_1 &pcfg_pull_down>; <4 RK_PC2 1 &pcfg_pull_down>;
}; };
vop0_pwm_pin: vop0-pwm-pin { vop0_pwm_pin: vop0-pwm-pin {
rockchip,pins = rockchip,pins =
<4 RK_PC2 RK_FUNC_2 &pcfg_pull_none>; <4 RK_PC2 2 &pcfg_pull_none>;
}; };
vop1_pwm_pin: vop1-pwm-pin { vop1_pwm_pin: vop1-pwm-pin {
rockchip,pins = rockchip,pins =
<4 RK_PC2 RK_FUNC_3 &pcfg_pull_none>; <4 RK_PC2 3 &pcfg_pull_none>;
}; };
}; };
pwm1 { pwm1 {
pwm1_pin: pwm1-pin { pwm1_pin: pwm1-pin {
rockchip,pins = rockchip,pins =
<4 RK_PC6 RK_FUNC_1 &pcfg_pull_none>; <4 RK_PC6 1 &pcfg_pull_none>;
}; };
pwm1_pin_pull_down: pwm1-pin-pull-down { pwm1_pin_pull_down: pwm1-pin-pull-down {
rockchip,pins = rockchip,pins =
<4 RK_PC6 RK_FUNC_1 &pcfg_pull_down>; <4 RK_PC6 1 &pcfg_pull_down>;
}; };
}; };
pwm2 { pwm2 {
pwm2_pin: pwm2-pin { pwm2_pin: pwm2-pin {
rockchip,pins = rockchip,pins =
<1 RK_PC3 RK_FUNC_1 &pcfg_pull_none>; <1 RK_PC3 1 &pcfg_pull_none>;
}; };
pwm2_pin_pull_down: pwm2-pin-pull-down { pwm2_pin_pull_down: pwm2-pin-pull-down {
rockchip,pins = rockchip,pins =
<1 RK_PC3 RK_FUNC_1 &pcfg_pull_down>; <1 RK_PC3 1 &pcfg_pull_down>;
}; };
}; };
pwm3a { pwm3a {
pwm3a_pin: pwm3a-pin { pwm3a_pin: pwm3a-pin {
rockchip,pins = rockchip,pins =
<0 RK_PA6 RK_FUNC_1 &pcfg_pull_none>; <0 RK_PA6 1 &pcfg_pull_none>;
}; };
}; };
pwm3b { pwm3b {
pwm3b_pin: pwm3b-pin { pwm3b_pin: pwm3b-pin {
rockchip,pins = rockchip,pins =
<1 RK_PB6 RK_FUNC_1 &pcfg_pull_none>; <1 RK_PB6 1 &pcfg_pull_none>;
}; };
}; };
hdmi { hdmi {
hdmi_i2c_xfer: hdmi-i2c-xfer { hdmi_i2c_xfer: hdmi-i2c-xfer {
rockchip,pins = rockchip,pins =
<4 RK_PC1 RK_FUNC_3 &pcfg_pull_none>, <4 RK_PC1 3 &pcfg_pull_none>,
<4 RK_PC0 RK_FUNC_3 &pcfg_pull_none>; <4 RK_PC0 3 &pcfg_pull_none>;
}; };
hdmi_cec: hdmi-cec { hdmi_cec: hdmi-cec {
rockchip,pins = rockchip,pins =
<4 RK_PC7 RK_FUNC_1 &pcfg_pull_none>; <4 RK_PC7 1 &pcfg_pull_none>;
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment