mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-14 18:56:30 +07:00
Fuel gauge for Pinebook Pro, the newly added periph-burst flag for pl330s,
first tiny part of the rk3399 camera infrastructure and cleanups + making dt-binding-check even happier. -----BEGIN PGP SIGNATURE----- iQFEBAABCAAuFiEE7v+35S2Q1vLNA3Lx86Z5yZzRHYEFAl8YxwgQHGhlaWtvQHNu dGVjaC5kZQAKCRDzpnnJnNEdgdXnB/0eoNoz+ZmX7L3gvPVejBiBBwSUVC21OW+A c3TtumCUGbHk3lXhb91j+s+qN1sMjOn6tdEAcCVO7gm/FcASXwKcqyKa+/dhLzt5 3/FaXye6THGV/QNk9tZr/hd2XQsg5hwA9Rl3DYJzB4WVWmBiOV3JuwmRlvLqRh7m AztbZiRvy9f3awWF1XVEW7MYDwVIPmeiGQh6voBYBjTfJyYKCKZDZPcPi4FmRP94 IIlG1NaH3jP8wZVD7yOhxtemY/IPsjFSoSinC7ZksAnRLEUax/AfMsBJQovEfL9M pkkkI3dxDZ+TokWcGtIaxZSTguV7X2bf5Fxv9UfWCfZ1pvtPB38i =47gX -----END PGP SIGNATURE----- Merge tag 'v5.9-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into arm/dt Fuel gauge for Pinebook Pro, the newly added periph-burst flag for pl330s, first tiny part of the rk3399 camera infrastructure and cleanups + making dt-binding-check even happier. * tag 'v5.9-rockchip-dts64-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: arm64: dts: rockchip: Add 'arm,pl330-periph-burst' for dmac arm64: dts: rockchip: remove bus-width from mmc nodes in px30 dts files arm64: dts: rockchip: add rx0 mipi-phy for rk3399 arm64: dts: rockchip: rename and label gpio-led subnodes part 2 arm64: dts: rockchip: rename label and nodename pinctrl subnodes that end with gpio arm64: dts: rockchip: fix rk3399-puma gmac reset gpio arm64: dts: rockchip: fix rk3399-puma vcc5v0-host gpio arm64: dts: rockchip: fix rk3368-lion gmac reset gpio arm64: dts: rockchip: set rockpro64 usbc dr_mode as host arm64: dts: rockchip: add fuel gauge to Pinebook Pro dts Link: https://lore.kernel.org/r/2221560.KYr1Tee2JR@phil Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
commit
571a9cf12a
@ -145,7 +145,6 @@ &dsi_dphy {
|
||||
};
|
||||
|
||||
&emmc {
|
||||
bus-width = <8>;
|
||||
cap-mmc-highspeed;
|
||||
mmc-hs200-1_8v;
|
||||
non-removable;
|
||||
@ -499,7 +498,6 @@ &saradc {
|
||||
};
|
||||
|
||||
&sdmmc {
|
||||
bus-width = <4>;
|
||||
cap-mmc-highspeed;
|
||||
cap-sd-highspeed;
|
||||
card-detect-delay = <800>;
|
||||
@ -513,7 +511,6 @@ &sdmmc {
|
||||
};
|
||||
|
||||
&sdio {
|
||||
bus-width = <4>;
|
||||
cap-sd-highspeed;
|
||||
keep-power-in-suspend;
|
||||
non-removable;
|
||||
|
@ -714,6 +714,7 @@ dmac: dmac@ff240000 {
|
||||
reg = <0x0 0xff240000 0x0 0x4000>;
|
||||
interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
|
||||
arm,pl330-periph-burst;
|
||||
clocks = <&cru ACLK_DMAC>;
|
||||
clock-names = "apb_pclk";
|
||||
#dma-cells = <1>;
|
||||
@ -733,9 +734,9 @@ tsadc: tsadc@ff280000 {
|
||||
rockchip,grf = <&grf>;
|
||||
rockchip,hw-tshut-temp = <120000>;
|
||||
pinctrl-names = "init", "default", "sleep";
|
||||
pinctrl-0 = <&tsadc_otp_gpio>;
|
||||
pinctrl-0 = <&tsadc_otp_pin>;
|
||||
pinctrl-1 = <&tsadc_otp_out>;
|
||||
pinctrl-2 = <&tsadc_otp_gpio>;
|
||||
pinctrl-2 = <&tsadc_otp_pin>;
|
||||
#thermal-sensor-cells = <1>;
|
||||
status = "disabled";
|
||||
};
|
||||
@ -1373,7 +1374,7 @@ i2c3_xfer: i2c3-xfer {
|
||||
};
|
||||
|
||||
tsadc {
|
||||
tsadc_otp_gpio: tsadc-otp-gpio {
|
||||
tsadc_otp_pin: tsadc-otp-pin {
|
||||
rockchip,pins =
|
||||
<0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
@ -524,6 +524,7 @@ dmac0: dma-controller@ff2c0000 {
|
||||
reg = <0x0 0xff2c0000 0x0 0x4000>;
|
||||
interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
|
||||
arm,pl330-periph-burst;
|
||||
clocks = <&cru ACLK_DMAC0>;
|
||||
clock-names = "apb_pclk";
|
||||
#dma-cells = <1>;
|
||||
@ -534,6 +535,7 @@ dmac1: dma-controller@ff2d0000 {
|
||||
reg = <0x0 0xff2d0000 0x0 0x4000>;
|
||||
interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
|
||||
arm,pl330-periph-burst;
|
||||
clocks = <&cru ACLK_DMAC1>;
|
||||
clock-names = "apb_pclk";
|
||||
#dma-cells = <1>;
|
||||
@ -1629,7 +1631,7 @@ spi2_mosi: spi2-mosi {
|
||||
};
|
||||
|
||||
tsadc {
|
||||
tsadc_otp_gpio: tsadc-otp-gpio {
|
||||
tsadc_otp_pin: tsadc-otp-pin {
|
||||
rockchip,pins =
|
||||
<0 RK_PB2 0 &pcfg_pull_none>;
|
||||
};
|
||||
@ -1657,7 +1659,7 @@ uart0_rts: uart0-rts {
|
||||
<2 RK_PA3 1 &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
uart0_rts_gpio: uart0-rts-gpio {
|
||||
uart0_rts_pin: uart0-rts-pin {
|
||||
rockchip,pins =
|
||||
<2 RK_PA3 0 &pcfg_pull_none>;
|
||||
};
|
||||
@ -1730,7 +1732,7 @@ uart4_rts: uart4-rts {
|
||||
<4 RK_PA7 1 &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
uart4_rts_gpio: uart4-rts-gpio {
|
||||
uart4_rts_pin: uart4-rts-pin {
|
||||
rockchip,pins =
|
||||
<4 RK_PA7 0 &pcfg_pull_none>;
|
||||
};
|
||||
|
@ -445,7 +445,6 @@ &saradc {
|
||||
};
|
||||
|
||||
&sdmmc {
|
||||
bus-width = <4>;
|
||||
cap-sd-highspeed;
|
||||
card-detect-delay = <200>;
|
||||
cd-gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_LOW>; /*[> CD GPIO <]*/
|
||||
|
@ -41,7 +41,7 @@ vcc_sd: sdmmc-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
gpio = <&gpio0 30 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdmmc0m1_gpio>;
|
||||
pinctrl-0 = <&sdmmc0m1_pin>;
|
||||
regulator-name = "vcc_sd";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
|
@ -34,7 +34,7 @@ vcc_sd: sdmmc-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdmmc0m1_gpio>;
|
||||
pinctrl-0 = <&sdmmc0m1_pin>;
|
||||
regulator-boot-on;
|
||||
regulator-name = "vcc_sd";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
|
@ -25,7 +25,7 @@ vcc_sd: sdmmc-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
gpio = <&gpio0 RK_PD6 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdmmc0m1_gpio>;
|
||||
pinctrl-0 = <&sdmmc0m1_pin>;
|
||||
regulator-name = "vcc_sd";
|
||||
regulator-min-microvolt = <3300000>;
|
||||
regulator-max-microvolt = <3300000>;
|
||||
|
@ -153,6 +153,7 @@ dmac: dmac@ff1f0000 {
|
||||
reg = <0x0 0xff1f0000 0x0 0x4000>;
|
||||
interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
|
||||
<GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
|
||||
arm,pl330-periph-burst;
|
||||
clocks = <&cru ACLK_DMAC>;
|
||||
clock-names = "apb_pclk";
|
||||
#dma-cells = <1>;
|
||||
@ -552,9 +553,9 @@ tsadc: tsadc@ff250000 {
|
||||
clocks = <&cru SCLK_TSADC>, <&cru PCLK_TSADC>;
|
||||
clock-names = "tsadc", "apb_pclk";
|
||||
pinctrl-names = "init", "default", "sleep";
|
||||
pinctrl-0 = <&otp_gpio>;
|
||||
pinctrl-0 = <&otp_pin>;
|
||||
pinctrl-1 = <&otp_out>;
|
||||
pinctrl-2 = <&otp_gpio>;
|
||||
pinctrl-2 = <&otp_pin>;
|
||||
resets = <&cru SRST_TSADC>;
|
||||
reset-names = "tsadc-apb";
|
||||
rockchip,grf = <&grf>;
|
||||
@ -1154,7 +1155,7 @@ i2c3_xfer: i2c3-xfer {
|
||||
rockchip,pins = <0 RK_PA5 2 &pcfg_pull_none>,
|
||||
<0 RK_PA6 2 &pcfg_pull_none>;
|
||||
};
|
||||
i2c3_gpio: i2c3-gpio {
|
||||
i2c3_pins: i2c3-pins {
|
||||
rockchip,pins =
|
||||
<0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>,
|
||||
<0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
@ -1225,7 +1226,7 @@ pdmm0_fsync_sleep: pdmm0-fsync-sleep {
|
||||
};
|
||||
|
||||
tsadc {
|
||||
otp_gpio: otp-gpio {
|
||||
otp_pin: otp-pin {
|
||||
rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
@ -1248,7 +1249,7 @@ uart0_rts: uart0-rts {
|
||||
rockchip,pins = <1 RK_PB2 1 &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
uart0_rts_gpio: uart0-rts-gpio {
|
||||
uart0_rts_pin: uart0-rts-pin {
|
||||
rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
@ -1267,7 +1268,7 @@ uart1_rts: uart1-rts {
|
||||
rockchip,pins = <3 RK_PA5 4 &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
uart1_rts_gpio: uart1-rts-gpio {
|
||||
uart1_rts_pin: uart1-rts-pin {
|
||||
rockchip,pins = <3 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
@ -1493,7 +1494,7 @@ sdmmc0m0_pwren: sdmmc0m0-pwren {
|
||||
rockchip,pins = <2 RK_PA7 1 &pcfg_pull_up_4ma>;
|
||||
};
|
||||
|
||||
sdmmc0m0_gpio: sdmmc0m0-gpio {
|
||||
sdmmc0m0_pin: sdmmc0m0-pin {
|
||||
rockchip,pins = <2 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
|
||||
};
|
||||
};
|
||||
@ -1503,7 +1504,7 @@ sdmmc0m1_pwren: sdmmc0m1-pwren {
|
||||
rockchip,pins = <0 RK_PD6 3 &pcfg_pull_up_4ma>;
|
||||
};
|
||||
|
||||
sdmmc0m1_gpio: sdmmc0m1-gpio {
|
||||
sdmmc0m1_pin: sdmmc0m1-pin {
|
||||
rockchip,pins = <0 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up_4ma>;
|
||||
};
|
||||
};
|
||||
@ -1536,7 +1537,7 @@ sdmmc0_bus4: sdmmc0-bus4 {
|
||||
<1 RK_PA3 1 &pcfg_pull_up_8ma>;
|
||||
};
|
||||
|
||||
sdmmc0_gpio: sdmmc0-gpio {
|
||||
sdmmc0_pins: sdmmc0-pins {
|
||||
rockchip,pins =
|
||||
<1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
||||
<1 RK_PA4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
||||
@ -1578,7 +1579,7 @@ sdmmc0ext_bus4: sdmmc0ext-bus4 {
|
||||
<3 RK_PA7 3 &pcfg_pull_up_4ma>;
|
||||
};
|
||||
|
||||
sdmmc0ext_gpio: sdmmc0ext-gpio {
|
||||
sdmmc0ext_pins: sdmmc0ext-pins {
|
||||
rockchip,pins =
|
||||
<3 RK_PA0 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
||||
<3 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
||||
@ -1623,7 +1624,7 @@ sdmmc1_bus4: sdmmc1-bus4 {
|
||||
<1 RK_PC1 1 &pcfg_pull_up_8ma>;
|
||||
};
|
||||
|
||||
sdmmc1_gpio: sdmmc1-gpio {
|
||||
sdmmc1_pins: sdmmc1-pins {
|
||||
rockchip,pins =
|
||||
<1 RK_PB4 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
||||
<1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_up_4ma>,
|
||||
@ -1817,7 +1818,7 @@ tsadc_pin {
|
||||
tsadc_int: tsadc-int {
|
||||
rockchip,pins = <2 RK_PB5 2 &pcfg_pull_none>;
|
||||
};
|
||||
tsadc_gpio: tsadc-gpio {
|
||||
tsadc_pin: tsadc-pin {
|
||||
rockchip,pins = <2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
@ -25,9 +25,9 @@ eeprom: eeprom@50 {
|
||||
};
|
||||
|
||||
leds {
|
||||
pinctrl-0 = <&led_pins_module>, <&led_sd_haikou>;
|
||||
pinctrl-0 = <&module_led_pins>, <&sd_card_led_pin>;
|
||||
|
||||
sd-card-led {
|
||||
sd_card_led: led-3 {
|
||||
label = "sd_card_led";
|
||||
gpios = <&gpio0 RK_PD2 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "mmc0";
|
||||
@ -118,14 +118,14 @@ haikou_pin_hog: haikou-pin-hog {
|
||||
};
|
||||
|
||||
leds {
|
||||
led_sd_haikou: led-sd-gpio {
|
||||
sd_card_led_pin: sd-card-led-pin {
|
||||
rockchip,pins =
|
||||
<0 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
||||
sdmmc {
|
||||
sdmmc_cd_gpio: sdmmc-cd-gpio {
|
||||
sdmmc_cd_pin: sdmmc-cd-pin {
|
||||
rockchip,pins =
|
||||
<2 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
@ -76,16 +76,16 @@ i2c@1 {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_pins_module>;
|
||||
pinctrl-0 = <&module_led_pins>;
|
||||
|
||||
module_led1 {
|
||||
module_led1: led-1 {
|
||||
label = "module_led1";
|
||||
gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
panic-indicator;
|
||||
};
|
||||
|
||||
module_led2 {
|
||||
module_led2: led-2 {
|
||||
label = "module_led2";
|
||||
gpios = <&gpio3 RK_PA3 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
@ -156,7 +156,7 @@ &gmac {
|
||||
pinctrl-0 = <&rgmii_pins>;
|
||||
snps,reset-active-low;
|
||||
snps,reset-delays-us = <0 10000 50000>;
|
||||
snps,reset-gpio = <&gpio3 RK_PB3 GPIO_ACTIVE_HIGH>;
|
||||
snps,reset-gpio = <&gpio3 RK_PB3 GPIO_ACTIVE_LOW>;
|
||||
tx_delay = <0x10>;
|
||||
rx_delay = <0x10>;
|
||||
status = "okay";
|
||||
@ -270,7 +270,7 @@ &i2c2 {
|
||||
|
||||
&pinctrl {
|
||||
leds {
|
||||
led_pins_module: led-module-gpio {
|
||||
module_led_pins: module-led-pins {
|
||||
rockchip,pins =
|
||||
<2 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>,
|
||||
<3 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
|
@ -149,6 +149,7 @@ dmac_peri: dma-controller@ff250000 {
|
||||
<GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#dma-cells = <1>;
|
||||
arm,pl330-broken-no-flushp;
|
||||
arm,pl330-periph-burst;
|
||||
clocks = <&cru ACLK_DMAC_PERI>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
@ -160,6 +161,7 @@ dmac_bus: dma-controller@ff600000 {
|
||||
<GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
|
||||
#dma-cells = <1>;
|
||||
arm,pl330-broken-no-flushp;
|
||||
arm,pl330-periph-burst;
|
||||
clocks = <&cru ACLK_DMAC_BUS>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
@ -483,9 +485,9 @@ tsadc: tsadc@ff280000 {
|
||||
resets = <&cru SRST_TSADC>;
|
||||
reset-names = "tsadc-apb";
|
||||
pinctrl-names = "init", "default", "sleep";
|
||||
pinctrl-0 = <&otp_gpio>;
|
||||
pinctrl-0 = <&otp_pin>;
|
||||
pinctrl-1 = <&otp_out>;
|
||||
pinctrl-2 = <&otp_gpio>;
|
||||
pinctrl-2 = <&otp_pin>;
|
||||
#thermal-sensor-cells = <1>;
|
||||
rockchip,hw-tshut-temp = <95000>;
|
||||
status = "disabled";
|
||||
@ -1145,7 +1147,7 @@ spi2_tx: spi2-tx {
|
||||
};
|
||||
|
||||
tsadc {
|
||||
otp_gpio: otp-gpio {
|
||||
otp_pin: otp-pin {
|
||||
rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
|
@ -589,11 +589,11 @@ pcie_3g_drv: pcie-3g-drv {
|
||||
};
|
||||
|
||||
pmic {
|
||||
vsel1_gpio: vsel1-gpio {
|
||||
vsel1_pin: vsel1-pin {
|
||||
rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
|
||||
vsel2_gpio: vsel2-gpio {
|
||||
vsel2_pin: vsel2-pin {
|
||||
rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
};
|
||||
|
@ -499,7 +499,7 @@ &i2s0_8ch_bus {
|
||||
};
|
||||
|
||||
/* there is no external pull up, so need to set this pin pull up */
|
||||
&sdmmc_cd_gpio {
|
||||
&sdmmc_cd_pin {
|
||||
rockchip,pins = <1 RK_PB3 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
|
@ -516,7 +516,7 @@ &sdmmc {
|
||||
* configured as SDMMC and not JTAG.
|
||||
*/
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_cd_gpio
|
||||
pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd &sdmmc_cd_pin
|
||||
&sdmmc_bus4>;
|
||||
|
||||
bus-width = <4>;
|
||||
@ -767,7 +767,7 @@ sdmmc_cd: sdmmc-cd {
|
||||
};
|
||||
|
||||
/* This is where we actually hook up CD; has external pull */
|
||||
sdmmc_cd_gpio: sdmmc-cd-gpio {
|
||||
sdmmc_cd_pin: sdmmc-cd-pin {
|
||||
rockchip,pins = <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
@ -205,7 +205,7 @@ vdd_cpu_b: syr827@40 {
|
||||
compatible = "silergy,syr827";
|
||||
reg = <0x40>;
|
||||
regulator-compatible = "fan53555-reg";
|
||||
pinctrl-0 = <&vsel1_gpio>;
|
||||
pinctrl-0 = <&vsel1_pin>;
|
||||
regulator-name = "vdd_cpu_b";
|
||||
regulator-min-microvolt = <712500>;
|
||||
regulator-max-microvolt = <1500000>;
|
||||
@ -223,7 +223,7 @@ vdd_gpu: syr828@41 {
|
||||
compatible = "silergy,syr828";
|
||||
reg = <0x41>;
|
||||
regulator-compatible = "fan53555-reg";
|
||||
pinctrl-0 = <&vsel2_gpio>;
|
||||
pinctrl-0 = <&vsel2_pin>;
|
||||
regulator-name = "vdd_gpu";
|
||||
regulator-min-microvolt = <712500>;
|
||||
regulator-max-microvolt = <1500000>;
|
||||
@ -521,12 +521,12 @@ pmic_int_l: pmic-int-l {
|
||||
<1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
vsel1_gpio: vsel1-gpio {
|
||||
vsel1_pin: vsel1-pin {
|
||||
rockchip,pins =
|
||||
<1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
|
||||
vsel2_gpio: vsel2-gpio {
|
||||
vsel2_pin: vsel2-pin {
|
||||
rockchip,pins =
|
||||
<1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
|
@ -141,15 +141,15 @@ power {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sys_led_gpio>, <&user_led_gpio>;
|
||||
pinctrl-0 = <&sys_led_pin>, <&user_led_pin>;
|
||||
|
||||
sys-led {
|
||||
sys_led: led-0 {
|
||||
label = "sys_led";
|
||||
linux,default-trigger = "heartbeat";
|
||||
gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
user-led {
|
||||
user_led: led-1 {
|
||||
label = "user_led";
|
||||
default-state = "off";
|
||||
gpios = <&gpio4 RK_PD0 GPIO_ACTIVE_HIGH>;
|
||||
@ -586,11 +586,11 @@ pwrbtn: pwrbtn {
|
||||
};
|
||||
|
||||
leds {
|
||||
sys_led_gpio: sys_led-gpio {
|
||||
sys_led_pin: sys-led-pin {
|
||||
rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
user_led_gpio: user_led-gpio {
|
||||
user_led_pin: user-led-pin {
|
||||
rockchip,pins = <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
@ -341,7 +341,7 @@ vdd_cpu_b: regulator@40 {
|
||||
reg = <0x40>;
|
||||
fcs,suspend-voltage-selector = <1>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vsel1_gpio>;
|
||||
pinctrl-0 = <&vsel1_pin>;
|
||||
regulator-name = "vdd_cpu_b";
|
||||
regulator-min-microvolt = <712500>;
|
||||
regulator-max-microvolt = <1500000>;
|
||||
@ -360,7 +360,7 @@ vdd_gpu: regulator@41 {
|
||||
reg = <0x41>;
|
||||
fcs,suspend-voltage-selector = <1>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vsel2_gpio>;
|
||||
pinctrl-0 = <&vsel2_pin>;
|
||||
regulator-name = "vdd_gpu";
|
||||
regulator-min-microvolt = <712500>;
|
||||
regulator-max-microvolt = <1500000>;
|
||||
@ -447,11 +447,11 @@ pmic_int_l: pmic-int-l {
|
||||
rockchip,pins = <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
vsel1_gpio: vsel1-gpio {
|
||||
vsel1_pin: vsel1-pin {
|
||||
rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
|
||||
vsel2_gpio: vsel2-gpio {
|
||||
vsel2_pin: vsel2-pin {
|
||||
rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
};
|
||||
|
@ -117,9 +117,9 @@ power {
|
||||
leds: gpio-leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&leds_gpio>;
|
||||
pinctrl-0 = <&status_led_pin>;
|
||||
|
||||
status {
|
||||
status_led: led-0 {
|
||||
gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
|
||||
label = "status_led";
|
||||
linux,default-trigger = "heartbeat";
|
||||
@ -520,7 +520,7 @@ fusb0_int: fusb0-int {
|
||||
};
|
||||
|
||||
gpio-leds {
|
||||
leds_gpio: leds-gpio {
|
||||
status_led_pin: status-led-pin {
|
||||
rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
@ -28,12 +28,19 @@ backlight: edp-backlight {
|
||||
pwms = <&pwm0 0 740740 0>;
|
||||
};
|
||||
|
||||
bat: battery {
|
||||
compatible = "simple-battery";
|
||||
charge-full-design-microamp-hours = <9800000>;
|
||||
voltage-max-design-microvolt = <4350000>;
|
||||
voltage-min-design-microvolt = <3000000>;
|
||||
};
|
||||
|
||||
edp_panel: edp-panel {
|
||||
compatible = "boe,nv140fhmn49";
|
||||
backlight = <&backlight>;
|
||||
enable-gpios = <&gpio1 RK_PA0 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&panel_en_gpio>;
|
||||
pinctrl-0 = <&panel_en_pin>;
|
||||
power-supply = <&vcc3v3_panel>;
|
||||
|
||||
ports {
|
||||
@ -60,7 +67,7 @@ panel_in_edp: endpoint@0 {
|
||||
gpio-key-lid {
|
||||
compatible = "gpio-keys";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&lidbtn_gpio>;
|
||||
pinctrl-0 = <&lidbtn_pin>;
|
||||
|
||||
lid {
|
||||
debounce-interval = <20>;
|
||||
@ -76,7 +83,7 @@ lid {
|
||||
gpio-key-power {
|
||||
compatible = "gpio-keys";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pwrbtn_gpio>;
|
||||
pinctrl-0 = <&pwrbtn_pin>;
|
||||
|
||||
power {
|
||||
debounce-interval = <20>;
|
||||
@ -117,7 +124,7 @@ sdio_pwrseq: sdio-pwrseq {
|
||||
clocks = <&rk808 1>;
|
||||
clock-names = "ext_clock";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&wifi_enable_h_gpio>;
|
||||
pinctrl-0 = <&wifi_enable_h_pin>;
|
||||
post-power-on-delay-ms = <100>;
|
||||
power-off-delay-us = <500000>;
|
||||
|
||||
@ -129,7 +136,7 @@ sdio_pwrseq: sdio-pwrseq {
|
||||
es8316-sound {
|
||||
compatible = "simple-audio-card";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&hp_det_gpio>;
|
||||
pinctrl-0 = <&hp_det_pin>;
|
||||
simple-audio-card,name = "rockchip,es8316-codec";
|
||||
simple-audio-card,format = "i2s";
|
||||
simple-audio-card,mclk-fs = <256>;
|
||||
@ -213,7 +220,7 @@ vcc5v0_usb: pa_5v: vcc5v0-usb-regulator {
|
||||
enable-active-high;
|
||||
gpio = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pwr_5v_gpio>;
|
||||
pinctrl-0 = <&pwr_5v_pin>;
|
||||
regulator-name = "vcc5v0_usb";
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <5000000>;
|
||||
@ -270,7 +277,7 @@ vcc3v0_sd: vcc3v0-sd {
|
||||
enable-active-high;
|
||||
gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&sdmmc0_pwr_h_gpio>;
|
||||
pinctrl-0 = <&sdmmc0_pwr_h_pin>;
|
||||
regulator-name = "vcc3v0_sd";
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <3000000>;
|
||||
@ -288,7 +295,7 @@ vcc3v3_panel: vcc3v3-panel {
|
||||
enable-active-high;
|
||||
gpio = <&gpio1 RK_PC6 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&lcdvcc_en_gpio>;
|
||||
pinctrl-0 = <&lcdvcc_en_pin>;
|
||||
regulator-name = "vcc3v3_panel";
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <3300000>;
|
||||
@ -317,7 +324,7 @@ vcc5v0_otg: vcc5v0-otg {
|
||||
enable-active-high;
|
||||
gpio = <&gpio4 RK_PD2 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vcc5v0_host_en_gpio>;
|
||||
pinctrl-0 = <&vcc5v0_host_en_pin>;
|
||||
regulator-name = "vcc5v0_otg";
|
||||
regulator-always-on;
|
||||
regulator-min-microvolt = <5000000>;
|
||||
@ -336,7 +343,7 @@ vbus_5vout: vbus_typec: vbus-5vout {
|
||||
enable-active-high;
|
||||
gpio = <&gpio1 RK_PA3 GPIO_ACTIVE_HIGH>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vcc5v0_typec0_en_gpio>;
|
||||
pinctrl-0 = <&vcc5v0_typec0_en_pin>;
|
||||
regulator-name = "vbus_5vout";
|
||||
regulator-min-microvolt = <5000000>;
|
||||
regulator-max-microvolt = <5000000>;
|
||||
@ -368,7 +375,7 @@ mains_charger: dc-charger {
|
||||
|
||||
/* Also triggered by USB charger */
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&dc_det_gpio>;
|
||||
pinctrl-0 = <&dc_det_pin>;
|
||||
};
|
||||
};
|
||||
|
||||
@ -447,7 +454,7 @@ rk808: pmic@1b {
|
||||
interrupt-parent = <&gpio3>;
|
||||
interrupts = <10 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&pmic_int_l_gpio>;
|
||||
pinctrl-0 = <&pmic_int_l_pin>;
|
||||
rockchip,system-power-controller;
|
||||
wakeup-source;
|
||||
|
||||
@ -627,7 +634,7 @@ vdd_cpu_b: regulator@40 {
|
||||
reg = <0x40>;
|
||||
fcs,suspend-voltage-selector = <1>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vsel1_gpio>;
|
||||
pinctrl-0 = <&vsel1_pin>;
|
||||
regulator-name = "vdd_cpu_b";
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
@ -646,7 +653,7 @@ vdd_gpu: regulator@41 {
|
||||
reg = <0x41>;
|
||||
fcs,suspend-voltage-selector = <1>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vsel2_gpio>;
|
||||
pinctrl-0 = <&vsel2_pin>;
|
||||
regulator-name = "vdd_gpu";
|
||||
regulator-always-on;
|
||||
regulator-boot-on;
|
||||
@ -693,7 +700,7 @@ fusb0: fusb30x@22 {
|
||||
interrupt-parent = <&gpio1>;
|
||||
interrupts = <RK_PA2 IRQ_TYPE_LEVEL_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&fusb0_int_gpio>;
|
||||
pinctrl-0 = <&fusb0_int_pin>;
|
||||
vbus-supply = <&vbus_typec>;
|
||||
|
||||
connector {
|
||||
@ -741,11 +748,29 @@ usbc_dp: endpoint {
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
cw2015@62 {
|
||||
compatible = "cellwise,cw2015";
|
||||
reg = <0x62>;
|
||||
cellwise,battery-profile = /bits/ 8 <
|
||||
0x17 0x67 0x80 0x73 0x6E 0x6C 0x6B 0x63
|
||||
0x77 0x51 0x5C 0x58 0x50 0x4C 0x48 0x36
|
||||
0x15 0x0C 0x0C 0x19 0x5B 0x7D 0x6F 0x69
|
||||
0x69 0x5B 0x0C 0x29 0x20 0x40 0x52 0x59
|
||||
0x57 0x56 0x54 0x4F 0x3B 0x1F 0x7F 0x17
|
||||
0x06 0x1A 0x30 0x5A 0x85 0x93 0x96 0x2D
|
||||
0x48 0x77 0x9C 0xB3 0x80 0x52 0x94 0xCB
|
||||
0x2F 0x00 0x64 0xA5 0xB5 0x11 0xF0 0x11
|
||||
>;
|
||||
cellwise,monitor-interval-ms = <5000>;
|
||||
monitored-battery = <&bat>;
|
||||
power-supplies = <&mains_charger>, <&fusb0>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2s1 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2s_8ch_mclk_gpio>, <&i2s1_2ch_bus>;
|
||||
pinctrl-0 = <&i2s_8ch_mclk_pin>, <&i2s1_2ch_bus>;
|
||||
rockchip,capture-channels = <8>;
|
||||
rockchip,playback-channels = <8>;
|
||||
status = "okay";
|
||||
@ -777,49 +802,49 @@ &pcie0 {
|
||||
|
||||
&pinctrl {
|
||||
buttons {
|
||||
pwrbtn_gpio: pwrbtn-gpio {
|
||||
pwrbtn_pin: pwrbtn-pin {
|
||||
rockchip,pins = <0 RK_PA5 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
lidbtn_gpio: lidbtn-gpio {
|
||||
lidbtn_pin: lidbtn-pin {
|
||||
rockchip,pins = <1 RK_PA1 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
};
|
||||
|
||||
dc-charger {
|
||||
dc_det_gpio: dc-det-gpio {
|
||||
dc_det_pin: dc-det-pin {
|
||||
rockchip,pins = <4 RK_PD0 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
};
|
||||
|
||||
es8316 {
|
||||
hp_det_gpio: hp-det-gpio {
|
||||
hp_det_pin: hp-det-pin {
|
||||
rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
};
|
||||
|
||||
fusb302x {
|
||||
fusb0_int_gpio: fusb0-int-gpio {
|
||||
fusb0_int_pin: fusb0-int-pin {
|
||||
rockchip,pins = <1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
};
|
||||
|
||||
i2s1 {
|
||||
i2s_8ch_mclk_gpio: i2s-8ch-mclk-gpio {
|
||||
i2s_8ch_mclk_pin: i2s-8ch-mclk-pin {
|
||||
rockchip,pins = <4 RK_PA0 1 &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
||||
lcd-panel {
|
||||
lcdvcc_en_gpio: lcdvcc-en-gpio {
|
||||
lcdvcc_en_pin: lcdvcc-en-pin {
|
||||
rockchip,pins = <1 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
panel_en_gpio: panel-en-gpio {
|
||||
panel_en_pin: panel-en-pin {
|
||||
rockchip,pins = <1 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
lcd_panel_reset_gpio: lcd-panel-reset-gpio {
|
||||
lcd_panel_reset_pin: lcd-panel-reset-pin {
|
||||
rockchip,pins = <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
};
|
||||
@ -835,58 +860,58 @@ slp_led_pin: slp-led-pin {
|
||||
};
|
||||
|
||||
pmic {
|
||||
pmic_int_l_gpio: pmic-int-l-gpio {
|
||||
pmic_int_l_pin: pmic-int-l-pin {
|
||||
rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
vsel1_gpio: vsel1-gpio {
|
||||
vsel1_pin: vsel1-pin {
|
||||
rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
|
||||
vsel2_gpio: vsel2-gpio {
|
||||
vsel2_pin: vsel2-pin {
|
||||
rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
};
|
||||
|
||||
sdcard {
|
||||
sdmmc0_pwr_h_gpio: sdmmc0-pwr-h-gpio {
|
||||
sdmmc0_pwr_h_pin: sdmmc0-pwr-h-pin {
|
||||
rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
sdio-pwrseq {
|
||||
wifi_enable_h_gpio: wifi-enable-h-gpio {
|
||||
wifi_enable_h_pin: wifi-enable-h-pin {
|
||||
rockchip,pins = <0 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
||||
usb-typec {
|
||||
vcc5v0_typec0_en_gpio: vcc5v0-typec0-en-gpio {
|
||||
vcc5v0_typec0_en_pin: vcc5v0-typec0-en-pin {
|
||||
rockchip,pins = <1 RK_PA3 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
};
|
||||
|
||||
usb2 {
|
||||
pwr_5v_gpio: pwr-5v-gpio {
|
||||
pwr_5v_pin: pwr-5v-pin {
|
||||
rockchip,pins = <1 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
vcc5v0_host_en_gpio: vcc5v0-host-en-gpio {
|
||||
vcc5v0_host_en_pin: vcc5v0-host-en-pin {
|
||||
rockchip,pins = <4 RK_PD2 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
||||
wireless-bluetooth {
|
||||
bt_wake_gpio: bt-wake-gpio {
|
||||
bt_wake_pin: bt-wake-pin {
|
||||
rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
bt_host_wake_gpio: bt-host-wake-gpio {
|
||||
bt_host_wake_pin: bt-host-wake-pin {
|
||||
rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
bt_reset_gpio: bt-reset-gpio {
|
||||
bt_reset_pin: bt-reset-pin {
|
||||
rockchip,pins = <0 RK_PB1 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
@ -1034,7 +1059,7 @@ bluetooth {
|
||||
host-wakeup-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
|
||||
max-speed = <1500000>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&bt_host_wake_gpio &bt_wake_gpio &bt_reset_gpio>;
|
||||
pinctrl-0 = <&bt_host_wake_pin &bt_wake_pin &bt_reset_pin>;
|
||||
shutdown-gpios = <&gpio0 RK_PB1 GPIO_ACTIVE_HIGH>;
|
||||
vbat-supply = <&wifi_bat>;
|
||||
vddio-supply = <&vcc_wl>;
|
||||
|
@ -15,9 +15,9 @@ chosen {
|
||||
};
|
||||
|
||||
leds {
|
||||
pinctrl-0 = <&led_pin_module>, <&led_sd_haikou>;
|
||||
pinctrl-0 = <&module_led_pin>, <&sd_card_led_pin>;
|
||||
|
||||
sd-card-led {
|
||||
sd_card_led: led-1 {
|
||||
label = "sd_card_led";
|
||||
gpios = <&gpio1 RK_PA2 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "mmc0";
|
||||
@ -179,7 +179,7 @@ haikou_pin_hog: haikou-pin-hog {
|
||||
};
|
||||
|
||||
leds {
|
||||
led_sd_haikou: led-sd-gpio {
|
||||
sd_card_led_pin: sd-card-led-pin {
|
||||
rockchip,pins =
|
||||
<1 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
@ -11,9 +11,9 @@ / {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&led_pin_module>;
|
||||
pinctrl-0 = <&module_led_pin>;
|
||||
|
||||
module-led {
|
||||
module_led: led-0 {
|
||||
label = "module_led";
|
||||
gpios = <&gpio2 RK_PD1 GPIO_ACTIVE_HIGH>;
|
||||
linux,default-trigger = "heartbeat";
|
||||
@ -101,7 +101,7 @@ vcc3v3_sys: vcc3v3-sys {
|
||||
|
||||
vcc5v0_host: vcc5v0-host-regulator {
|
||||
compatible = "regulator-fixed";
|
||||
gpio = <&gpio4 RK_PA3 GPIO_ACTIVE_HIGH>;
|
||||
gpio = <&gpio4 RK_PA3 GPIO_ACTIVE_LOW>;
|
||||
enable-active-low;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vcc5v0_host_en>;
|
||||
@ -157,7 +157,7 @@ &gmac {
|
||||
phy-mode = "rgmii";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&rgmii_pins>;
|
||||
snps,reset-gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_HIGH>;
|
||||
snps,reset-gpio = <&gpio3 RK_PC0 GPIO_ACTIVE_LOW>;
|
||||
snps,reset-active-low;
|
||||
snps,reset-delays-us = <0 10000 50000>;
|
||||
tx_delay = <0x10>;
|
||||
@ -450,7 +450,7 @@ i2c8_xfer_a: i2c8-xfer {
|
||||
};
|
||||
|
||||
leds {
|
||||
led_pin_module: led-module-gpio {
|
||||
module_led_pin: module-led-pin {
|
||||
rockchip,pins =
|
||||
<2 RK_PD1 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
@ -61,23 +61,23 @@ power {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&work_led_gpio>, <&diy_led_gpio>, <&yellow_led_gpio>;
|
||||
pinctrl-0 = <&work_led_pin>, <&diy_led_pin>, <&yellow_led_pin>;
|
||||
|
||||
work-led {
|
||||
work_led: led-0 {
|
||||
label = "green:work";
|
||||
gpios = <&gpio2 RK_PD3 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "on";
|
||||
linux,default-trigger = "heartbeat";
|
||||
};
|
||||
|
||||
diy-led {
|
||||
diy_led: led-1 {
|
||||
label = "red:diy";
|
||||
gpios = <&gpio0 RK_PB5 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
linux,default-trigger = "mmc1";
|
||||
};
|
||||
|
||||
yellow-led {
|
||||
yellow_led: led-2 {
|
||||
label = "yellow:yellow-led";
|
||||
gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>;
|
||||
default-state = "off";
|
||||
@ -456,7 +456,7 @@ vdd_cpu_b: regulator@40 {
|
||||
reg = <0x40>;
|
||||
fcs,suspend-voltage-selector = <1>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vsel1_gpio>;
|
||||
pinctrl-0 = <&vsel1_pin>;
|
||||
regulator-name = "vdd_cpu_b";
|
||||
regulator-min-microvolt = <712500>;
|
||||
regulator-max-microvolt = <1500000>;
|
||||
@ -475,7 +475,7 @@ vdd_gpu: regulator@41 {
|
||||
reg = <0x41>;
|
||||
fcs,suspend-voltage-selector = <1>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vsel2_gpio>;
|
||||
pinctrl-0 = <&vsel2_pin>;
|
||||
regulator-name = "vdd_gpu";
|
||||
regulator-min-microvolt = <712500>;
|
||||
regulator-max-microvolt = <1500000>;
|
||||
@ -595,25 +595,25 @@ lcd_panel_reset: lcd-panel-reset {
|
||||
};
|
||||
|
||||
leds {
|
||||
diy_led_gpio: diy_led-gpio {
|
||||
diy_led_pin: diy-led-pin {
|
||||
rockchip,pins = <0 RK_PB5 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
work_led_gpio: work_led-gpio {
|
||||
work_led_pin: work-led-pin {
|
||||
rockchip,pins = <2 RK_PD3 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
yellow_led_gpio: yellow_led-gpio {
|
||||
yellow_led_pin: yellow-led-pin {
|
||||
rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
|
||||
pmic {
|
||||
vsel1_gpio: vsel1-gpio {
|
||||
vsel1_pin: vsel1-pin {
|
||||
rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
|
||||
vsel2_gpio: vsel2-gpio {
|
||||
vsel2_pin: vsel2-pin {
|
||||
rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
};
|
||||
|
@ -390,7 +390,7 @@ vdd_cpu_b: regulator@40 {
|
||||
reg = <0x40>;
|
||||
fcs,suspend-voltage-selector = <1>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vsel1_gpio>;
|
||||
pinctrl-0 = <&vsel1_pin>;
|
||||
regulator-name = "vdd_cpu_b";
|
||||
regulator-min-microvolt = <712500>;
|
||||
regulator-max-microvolt = <1500000>;
|
||||
@ -409,7 +409,7 @@ vdd_gpu: regulator@41 {
|
||||
reg = <0x41>;
|
||||
fcs,suspend-voltage-selector = <1>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vsel2_gpio>;
|
||||
pinctrl-0 = <&vsel2_pin>;
|
||||
regulator-name = "vdd_gpu";
|
||||
regulator-min-microvolt = <712500>;
|
||||
regulator-max-microvolt = <1500000>;
|
||||
@ -532,11 +532,11 @@ pmic_int_l: pmic-int-l {
|
||||
rockchip,pins = <1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
vsel1_gpio: vsel1-gpio {
|
||||
vsel1_pin: vsel1-pin {
|
||||
rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
|
||||
vsel2_gpio: vsel2-gpio {
|
||||
vsel2_pin: vsel2-pin {
|
||||
rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
};
|
||||
|
@ -470,12 +470,12 @@ pmic_int_l: pmic-int-l {
|
||||
<1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
vsel1_gpio: vsel1-gpio {
|
||||
vsel1_pin: vsel1-pin {
|
||||
rockchip,pins =
|
||||
<1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
|
||||
vsel2_gpio: vsel2-gpio {
|
||||
vsel2_pin: vsel2-pin {
|
||||
rockchip,pins =
|
||||
<1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
|
@ -39,15 +39,15 @@ power {
|
||||
leds {
|
||||
compatible = "gpio-leds";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&work_led_gpio>, <&diy_led_gpio>;
|
||||
pinctrl-0 = <&work_led_pin>, <&diy_led_pin>;
|
||||
|
||||
work-led {
|
||||
work_led: led-0 {
|
||||
label = "work";
|
||||
default-state = "on";
|
||||
gpios = <&gpio0 RK_PB3 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
diy-led {
|
||||
diy_led: led-1 {
|
||||
label = "diy";
|
||||
default-state = "off";
|
||||
gpios = <&gpio0 RK_PA2 GPIO_ACTIVE_HIGH>;
|
||||
@ -445,7 +445,7 @@ vdd_cpu_b: regulator@40 {
|
||||
reg = <0x40>;
|
||||
fcs,suspend-voltage-selector = <1>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vsel1_gpio>;
|
||||
pinctrl-0 = <&vsel1_pin>;
|
||||
regulator-name = "vdd_cpu_b";
|
||||
regulator-min-microvolt = <712500>;
|
||||
regulator-max-microvolt = <1500000>;
|
||||
@ -464,7 +464,7 @@ vdd_gpu: regulator@41 {
|
||||
reg = <0x41>;
|
||||
fcs,suspend-voltage-selector = <1>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&vsel2_gpio>;
|
||||
pinctrl-0 = <&vsel2_pin>;
|
||||
regulator-name = "vdd_gpu";
|
||||
regulator-min-microvolt = <712500>;
|
||||
regulator-max-microvolt = <1500000>;
|
||||
@ -588,11 +588,11 @@ fusb0_int: fusb0-int {
|
||||
};
|
||||
|
||||
leds {
|
||||
work_led_gpio: work_led-gpio {
|
||||
work_led_pin: work-led-pin {
|
||||
rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
diy_led_gpio: diy_led-gpio {
|
||||
diy_led_pin: diy-led-pin {
|
||||
rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
};
|
||||
@ -612,11 +612,11 @@ pmic_int_l: pmic-int-l {
|
||||
rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
vsel1_gpio: vsel1-gpio {
|
||||
vsel1_pin: vsel1-pin {
|
||||
rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
|
||||
vsel2_gpio: vsel2-gpio {
|
||||
vsel2_pin: vsel2-pin {
|
||||
rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
};
|
||||
@ -795,7 +795,7 @@ &usbdrd3_0 {
|
||||
|
||||
&usbdrd_dwc3_0 {
|
||||
status = "okay";
|
||||
dr_mode = "otg";
|
||||
dr_mode = "host";
|
||||
};
|
||||
|
||||
&usbdrd3_1 {
|
||||
|
@ -481,11 +481,11 @@ pmic_int_l: pmic-int-l {
|
||||
<1 RK_PC5 RK_FUNC_GPIO &pcfg_pull_up>;
|
||||
};
|
||||
|
||||
vsel1_gpio: vsel1-gpio {
|
||||
vsel1_pin: vsel1-pin {
|
||||
rockchip,pins = <1 RK_PC1 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
|
||||
vsel2_gpio: vsel2-gpio {
|
||||
vsel2_pin: vsel2-pin {
|
||||
rockchip,pins = <1 RK_PB6 RK_FUNC_GPIO &pcfg_pull_down>;
|
||||
};
|
||||
};
|
||||
|
@ -209,6 +209,7 @@ dmac_bus: dma-controller@ff6d0000 {
|
||||
interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH 0>,
|
||||
<GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH 0>;
|
||||
#dma-cells = <1>;
|
||||
arm,pl330-periph-burst;
|
||||
clocks = <&cru ACLK_DMAC0_PERILP>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
@ -219,6 +220,7 @@ dmac_peri: dma-controller@ff6e0000 {
|
||||
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH 0>,
|
||||
<GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH 0>;
|
||||
#dma-cells = <1>;
|
||||
arm,pl330-periph-burst;
|
||||
clocks = <&cru ACLK_DMAC1_PERILP>;
|
||||
clock-names = "apb_pclk";
|
||||
};
|
||||
@ -845,9 +847,9 @@ tsadc: tsadc@ff260000 {
|
||||
rockchip,grf = <&grf>;
|
||||
rockchip,hw-tshut-temp = <95000>;
|
||||
pinctrl-names = "init", "default", "sleep";
|
||||
pinctrl-0 = <&otp_gpio>;
|
||||
pinctrl-0 = <&otp_pin>;
|
||||
pinctrl-1 = <&otp_out>;
|
||||
pinctrl-2 = <&otp_gpio>;
|
||||
pinctrl-2 = <&otp_pin>;
|
||||
#thermal-sensor-cells = <1>;
|
||||
status = "disabled";
|
||||
};
|
||||
@ -1397,6 +1399,17 @@ io_domains: io-domains {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
mipi_dphy_rx0: mipi-dphy-rx0 {
|
||||
compatible = "rockchip,rk3399-mipi-dphy-rx0";
|
||||
clocks = <&cru SCLK_MIPIDPHY_REF>,
|
||||
<&cru SCLK_DPHY_RX0_CFG>,
|
||||
<&cru PCLK_VIO_GRF>;
|
||||
clock-names = "dphy-ref", "dphy-cfg", "grf";
|
||||
power-domains = <&power RK3399_PD_VIO>;
|
||||
#phy-cells = <0>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
u2phy0: usb2-phy@e450 {
|
||||
compatible = "rockchip,rk3399-usb2phy";
|
||||
reg = <0xe450 0x10>;
|
||||
@ -2485,7 +2498,7 @@ test_clkout2: test-clkout2 {
|
||||
};
|
||||
|
||||
tsadc {
|
||||
otp_gpio: otp-gpio {
|
||||
otp_pin: otp-pin {
|
||||
rockchip,pins = <1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user