Last active
          April 27, 2023 16:17 
        
      - 
      
- 
        Save macromorgan/823b0e9d11766f11706435fe1b87e89f to your computer and use it in GitHub Desktop. 
    Indiedroid Nova DTS (work in progress)
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) | |
| /dts-v1/; | |
| #include <dt-bindings/gpio/gpio.h> | |
| #include <dt-bindings/pinctrl/rockchip.h> | |
| #include <dt-bindings/usb/pd.h> | |
| #include "rk3588s.dtsi" | |
| / { | |
| model = "Indiedroid Nova"; | |
| compatible = "indiedroid,nova", "rockchip,rk3588s"; | |
| aliases { | |
| mmc0 = &sdhci; | |
| mmc1 = &sdmmc; | |
| mmc2 = &sdio; | |
| serial2 = &uart2; | |
| }; | |
| chosen { | |
| stdout-path = "serial2:1500000n8"; | |
| }; | |
| /* custom for me only */ | |
| fan0: pwm-fan { | |
| compatible = "pwm-fan"; | |
| #cooling-cells = <2>; | |
| pwms = <&pwm11 0 10000 0>; | |
| cooling-levels = <0 64 128 255>; | |
| }; | |
| sdio_pwrseq: sdio-pwrseq { | |
| compatible = "mmc-pwrseq-simple"; | |
| clock-names = "ext_clock"; | |
| clocks = <&rtc_hym8563>; | |
| pinctrl-0 = <&wifi_enable_h>; | |
| pinctrl-names = "default"; | |
| post-power-on-delay-ms = <200>; | |
| reset-gpios = <&gpio0 RK_PC7 GPIO_ACTIVE_LOW>; | |
| }; | |
| vbus5v0_typec: vbus5v0-typec { | |
| compatible = "regulator-fixed"; | |
| enable-active-high; | |
| gpio = <&gpio4 RK_PA5 GPIO_ACTIVE_HIGH>; | |
| pinctrl-0 = <&typec5v_pwren>; | |
| pinctrl-names = "default"; | |
| regulator-name = "vbus5v0_typec"; | |
| regulator-min-microvolt = <5000000>; | |
| regulator-max-microvolt = <5000000>; | |
| vin-supply = <&vcc5v0_usb>; | |
| }; | |
| vcc_1v1_nldo_s3: vcc-1v1-nldo-s3 { | |
| compatible = "regulator-fixed"; | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <1100000>; | |
| regulator-min-microvolt = <1100000>; | |
| regulator-name = "vcc_1v1_nldo_s3"; | |
| vin-supply = <&vcc5v0_sys>; | |
| }; | |
| /* Regulator is enabled whenever vcc_1v8_s0 is above 1.6v */ | |
| vcc_3v3_s0: vcc-3v3-s0 { | |
| compatible = "regulator-fixed"; | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <3300000>; | |
| regulator-min-microvolt = <3300000>; | |
| regulator-name = "vcc_3v3_s0"; | |
| vin-supply = <&vcc_3v3_s3>; | |
| regulator-state-mem { | |
| regulator-off-in-suspend; | |
| }; | |
| }; | |
| vcc5v0_sys: vcc5v0-sys { | |
| compatible = "regulator-fixed"; | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <5000000>; | |
| regulator-min-microvolt = <5000000>; | |
| regulator-name = "vcc5v0_sys"; | |
| }; | |
| vcc5v0_usb: vcc5v0-usb { | |
| compatible = "regulator-fixed"; | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <5000000>; | |
| regulator-min-microvolt = <5000000>; | |
| regulator-name = "vcc5v0_usb"; | |
| vin-supply = <&vcc5v0_usbdcin>; | |
| }; | |
| vcc5v0_usbdcin: vcc5v0-usbdcin { | |
| compatible = "regulator-fixed"; | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <5000000>; | |
| regulator-min-microvolt = <5000000>; | |
| regulator-name = "vcc5v0_usbdcin"; | |
| }; | |
| }; | |
| &cpu_l0 { | |
| cpu-supply = <&vdd_cpu_lit_s0>; | |
| }; | |
| &cpu_l1 { | |
| cpu-supply = <&vdd_cpu_lit_s0>; | |
| }; | |
| &cpu_l2 { | |
| cpu-supply = <&vdd_cpu_lit_s0>; | |
| }; | |
| &cpu_l3 { | |
| cpu-supply = <&vdd_cpu_lit_s0>; | |
| }; | |
| &cpu_b0{ | |
| cpu-supply = <&vdd_cpu_big0_s0>; | |
| }; | |
| &cpu_b1{ | |
| cpu-supply = <&vdd_cpu_big0_s0>; | |
| }; | |
| &cpu_b2{ | |
| cpu-supply = <&vdd_cpu_big1_s0>; | |
| }; | |
| &cpu_b3{ | |
| cpu-supply = <&vdd_cpu_big1_s0>; | |
| }; | |
| &gpio0 { | |
| gpio-line-names = /* GPIO0 A0-A7 */ | |
| "", "", "", "", | |
| "", "", "", "", | |
| /* GPIO0 B0-B7 */ | |
| "", "", "", "", | |
| "", "", "", "", | |
| /* GPIO0 C0-C7 */ | |
| "", "", "", "", | |
| "", "", "", "", | |
| /* GPIO0 D0-D7 */ | |
| "HEADER_12", "", "", "HEADER_24", | |
| "", "", "", ""; | |
| }; | |
| &gpio1 { | |
| gpio-line-names = /* GPIO1 A0-A7 */ | |
| "HEADER_27", "HEADER_28", "", "", | |
| "HEADER_29", "", "HEADER_7", "", | |
| /* GPIO1 B0-B7 */ | |
| "", "HEADER_31", "HEADER_33", "", | |
| "HEADER_11", "HEADER_13", "", "", | |
| /* GPIO1 C0-C7 */ | |
| "", "", "", "", | |
| "", "", "", "", | |
| /* GPIO1 D0-D7 */ | |
| "", "", "", "", | |
| "", "", "HEADER_5", "HEADER_3"; | |
| }; | |
| &gpio3 { | |
| gpio-line-names = /* GPIO3 A0-A7 */ | |
| "", "", "", "", | |
| "", "", "", "", | |
| /* GPIO3 B0-B7 */ | |
| "HEADER_16", "HEADER_18", "", "", | |
| "", "", "", "HEADER_19", | |
| /* GPIO3 C0-C7 */ | |
| "HEADER_21", "HEADER_23", "", "HEADER_26", | |
| "HEADER_15", "HEADER_22", "", "", | |
| /* GPIO3 D0-D7 */ | |
| "", "", "", "", | |
| "", "", "", ""; | |
| }; | |
| &gpio4 { | |
| gpio-line-names = /* GPIO4 A0-A7 */ | |
| "", "", "HEADER_37", "HEADER_32", | |
| "HEADER_36", "", "HEADER_35", "HEADER_38", | |
| /* GPIO4 B0-B7 */ | |
| "", "", "", "HEADER_40", | |
| "HEADER_8", "HEADER_10", "", "", | |
| /* GPIO4 C0-C7 */ | |
| "", "", "", "", | |
| "", "", "", "", | |
| /* GPIO4 D0-D7 */ | |
| "", "", "", "", | |
| "", "", "", ""; | |
| }; | |
| &i2c0 { | |
| pinctrl-0 = <&i2c0m2_xfer>; | |
| pinctrl-names = "default"; | |
| status = "okay"; | |
| vdd_cpu_big0_s0: regulator@42 { | |
| compatible = "rockchip,rk8602"; | |
| reg = <0x42>; | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <1050000>; | |
| regulator-min-microvolt = <550000>; | |
| regulator-name = "vdd_cpu_big0_s0"; | |
| regulator-ramp-delay = <2300>; | |
| fcs,suspend-voltage-selector = <1>; | |
| vin-supply = <&vcc5v0_sys>; | |
| regulator-state-mem { | |
| regulator-off-in-suspend; | |
| }; | |
| }; | |
| vdd_cpu_big1_s0: regulator@43 { | |
| compatible = "rockchip,rk8603", "rockchip,rk8602"; | |
| reg = <0x43>; | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <1050000>; | |
| regulator-min-microvolt = <550000>; | |
| regulator-name = "vdd_cpu_big1_s0"; | |
| regulator-ramp-delay = <2300>; | |
| fcs,suspend-voltage-selector = <1>; | |
| vin-supply = <&vcc5v0_sys>; | |
| regulator-state-mem { | |
| regulator-off-in-suspend; | |
| }; | |
| }; | |
| }; | |
| &i2c2 { | |
| status = "okay"; | |
| vdd_npu_s0: regulator@42 { | |
| compatible = "rockchip,rk8602"; | |
| reg = <0x42>; | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <950000>; | |
| regulator-min-microvolt = <550000>; | |
| regulator-name = "vdd_npu_s0"; | |
| regulator-ramp-delay = <2300>; | |
| fcs,suspend-voltage-selector = <1>; | |
| vin-supply = <&vcc5v0_sys>; | |
| regulator-state-mem { | |
| regulator-off-in-suspend; | |
| }; | |
| }; | |
| }; | |
| &i2c6 { | |
| pinctrl-0 = <&i2c6m3_xfer>; | |
| status = "okay"; | |
| fusb302: typec-portc@22 { | |
| compatible = "fcs,fusb302"; | |
| reg = <0x22>; | |
| interrupt-parent = <&gpio0>; | |
| interrupts = <RK_PC4 IRQ_TYPE_LEVEL_LOW>; | |
| pinctrl-0 = <&usbc0_int>; | |
| pinctrl-names = "default"; | |
| vbus-supply = <&vbus5v0_typec>; | |
| connector { | |
| compatible = "usb-c-connector"; | |
| data-role = "dual"; | |
| label = "USB-C"; | |
| power-role = "dual"; | |
| try-power-role = "sink"; | |
| source-pdos = <PDO_FIXED(5000, 3000, PDO_FIXED_USB_COMM)>; | |
| sink-pdos = <PDO_FIXED(5000, 1000, PDO_FIXED_USB_COMM)>; | |
| op-sink-microwatt = <1000000>; | |
| }; | |
| }; | |
| rtc_hym8563: rtc@51 { | |
| compatible = "haoyu,hym8563"; | |
| reg = <0x51>; | |
| #clock-cells = <0>; | |
| clock-output-names = "hym8563"; | |
| interrupt-parent = <&gpio0>; | |
| interrupts = <RK_PB0 IRQ_TYPE_LEVEL_LOW>; | |
| pinctrl-0 = <&hym8563_int>; | |
| pinctrl-names = "default"; | |
| wakeup-source; | |
| }; | |
| }; | |
| &i2c7 { | |
| pinctrl-0 = <&i2c7m0_xfer>; | |
| status = "okay"; | |
| es8388: audio-codec@11 { | |
| compatible = "everest,es8388"; | |
| AVDD-supply = <&vcc_3v3_s3>; | |
| DVDD-supply = <&vcc_1v8_s3>; | |
| HPVDD-supply = <&vcc_3v3_s3>; | |
| PVDD-supply = <&vcc_1v8_s3>; | |
| reg = <0x11>; | |
| clock-names = "mclk"; | |
| clocks = <&cru I2S0_8CH_MCLKOUT>; | |
| #sound-dai-cells = <0>; | |
| }; | |
| }; | |
| &pinctrl { | |
| bluetooth-pins { | |
| bt_reset: bt-reset { | |
| rockchip,pins = | |
| <0 RK_PD4 RK_FUNC_GPIO &pcfg_pull_none>; | |
| }; | |
| bt_wake_dev: bt-wake-dev { | |
| rockchip,pins = | |
| <0 RK_PC6 RK_FUNC_GPIO &pcfg_pull_none>; | |
| }; | |
| bt_wake_host: bt-wake-host { | |
| rockchip,pins = | |
| <0 RK_PC5 RK_FUNC_GPIO &pcfg_pull_down>; | |
| }; | |
| }; | |
| hym8563 { | |
| hym8563_int: hym8563-int { | |
| rockchip,pins = | |
| <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_none>; | |
| }; | |
| }; | |
| sdio-pwrseq { | |
| wifi_enable_h: wifi-enable-h { | |
| rockchip,pins = | |
| <0 RK_PC7 RK_FUNC_GPIO &pcfg_pull_none>; | |
| }; | |
| }; | |
| usb-typec { | |
| usbc0_int: usbc0-int { | |
| rockchip,pins = | |
| <0 RK_PC4 RK_FUNC_GPIO &pcfg_pull_up>; | |
| }; | |
| typec5v_pwren: typec5v-pwren { | |
| rockchip,pins = | |
| <4 RK_PA5 RK_FUNC_GPIO &pcfg_pull_none>; | |
| }; | |
| }; | |
| vcc-wifi { | |
| vcc_wifi_h: vcc-wifi-h { | |
| rockchip,pins = | |
| <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; | |
| }; | |
| }; | |
| }; | |
| /* custom for me only */ | |
| &pwm11 { | |
| pinctrl-0 = <&pwm11m1_pins>; | |
| status = "okay"; | |
| }; | |
| /* Card has trouble with HS400 modes. */ | |
| &sdhci { | |
| bus-width = <8>; | |
| no-mmc-hs400; | |
| no-sd; | |
| no-sdio; | |
| non-removable; | |
| vmmc-supply = <&vcc_3v3_s0>; | |
| vqmmc-supply = <&vcc_1v8_s3>; | |
| status = "okay"; | |
| }; | |
| /* not yet in mainline */ | |
| &sdio { | |
| bus-width = <4>; | |
| cap-sd-highspeed; | |
| cap-sdio-irq; | |
| disable-wp; | |
| keep-power-in-suspend; | |
| max-frequency = <100000000>; | |
| mmc-pwrseq = <&sdio_pwrseq>; | |
| no-mmc; | |
| no-sd; | |
| non-removable; | |
| sd-uhs-sdr104; | |
| vmmc-supply = <&vcc_3v3_s3>; | |
| vqmmc-supply = <&vcc_1v8_s3>; | |
| status = "okay"; | |
| }; | |
| &sdmmc { | |
| bus-width = <4>; | |
| cap-mmc-highspeed; | |
| cap-sd-highspeed; | |
| disable-wp; | |
| max-frequency = <150000000>; | |
| no-sdio; | |
| no-mmc; | |
| vmmc-supply = <&vcc_3v3_s3>; | |
| vqmmc-supply = <&vccio_sd_s0>; /* unclear if used */ | |
| status = "okay"; | |
| }; | |
| &spi2 { | |
| #address-cells = <1>; | |
| assigned-clocks = <&cru CLK_SPI2>; | |
| assigned-clock-rates = <200000000>; | |
| pinctrl-0 = <&spi2m2_pins>, <&spi2m2_cs0>; | |
| pinctrl-names = "default"; | |
| #size-cells = <0>; | |
| status = "okay"; | |
| /* not yet in mainline */ | |
| pmic@0 { | |
| compatible = "rockchip,rk806"; | |
| reg = <0x0>; | |
| interrupt-parent = <&gpio0>; | |
| interrupts = <RK_PA7 IRQ_TYPE_LEVEL_LOW>; | |
| pinctrl-0 = <&pmic_pins>; | |
| pinctrl-names = "default"; | |
| spi-max-frequency = <1000000>; | |
| vcc1-supply = <&vcc5v0_sys>; | |
| vcc2-supply = <&vcc5v0_sys>; | |
| vcc3-supply = <&vcc5v0_sys>; | |
| vcc4-supply = <&vcc5v0_sys>; | |
| vcc5-supply = <&vcc5v0_sys>; | |
| vcc6-supply = <&vcc5v0_sys>; | |
| vcc7-supply = <&vcc5v0_sys>; | |
| vcc8-supply = <&vcc5v0_sys>; | |
| vcc9-supply = <&vcc5v0_sys>; | |
| vcc10-supply = <&vcc5v0_sys>; | |
| vcc11-supply = <&vcc_2v0_pldo_s3>; | |
| vcc12-supply = <&vcc5v0_sys>; | |
| vcc13-supply = <&vcc_1v1_nldo_s3>; | |
| vcc14-supply = <&vcc_1v1_nldo_s3>; | |
| vcca-supply = <&vcc5v0_sys>; | |
| regulators { | |
| vdd_gpu_s0: dcdc-reg1 { | |
| regulator-boot-on; | |
| regulator-enable-ramp-delay = <400>; | |
| regulator-max-microvolt = <950000>; | |
| regulator-min-microvolt = <550000>; | |
| regulator-name = "vdd_gpu_s0"; | |
| regulator-ramp-delay = <12500>; | |
| regulator-state-mem { | |
| regulator-off-in-suspend; | |
| }; | |
| }; | |
| vdd_cpu_lit_s0: dcdc-reg2 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <950000>; | |
| regulator-min-microvolt = <550000>; | |
| regulator-ramp-delay = <12500>; | |
| regulator-name = "vdd_cpu_lit_s0"; | |
| regulator-state-mem { | |
| regulator-off-in-suspend; | |
| }; | |
| }; | |
| vdd_logic_s0: dcdc-reg3 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <750000>; | |
| regulator-min-microvolt = <675000>; | |
| regulator-name = "vdd_logic_s0"; | |
| regulator-ramp-delay = <12500>; | |
| regulator-state-mem { | |
| regulator-on-in-suspend; | |
| regulator-suspend-microvolt = <750000>; | |
| }; | |
| }; | |
| vdd_vdenc_s0: dcdc-reg4 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <950000>; | |
| regulator-min-microvolt = <550000>; | |
| regulator-name = "vdd_vdenc_s0"; | |
| regulator-ramp-delay = <12500>; | |
| regulator-state-mem { | |
| regulator-off-in-suspend; | |
| }; | |
| }; | |
| vdd_ddr_s0: dcdc-reg5 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-min-microvolt = <750000>; | |
| regulator-max-microvolt = <850000>; | |
| regulator-ramp-delay = <12500>; | |
| regulator-name = "vdd_ddr_s0"; | |
| regulator-state-mem { | |
| regulator-off-in-suspend; | |
| regulator-suspend-microvolt = <850000>; | |
| }; | |
| }; | |
| vdd2_ddr_s3: dcdc-reg6 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <1100000>; | |
| regulator-min-microvolt = <1100000>; | |
| regulator-name = "vdd2_ddr_s3"; | |
| regulator-state-mem { | |
| regulator-on-in-suspend; | |
| }; | |
| }; | |
| vcc_2v0_pldo_s3: dcdc-reg7 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <2000000>; | |
| regulator-min-microvolt = <2000000>; | |
| regulator-name = "vdd_2v0_pldo_s3"; | |
| regulator-state-mem { | |
| regulator-on-in-suspend; | |
| regulator-suspend-microvolt = <2000000>; | |
| }; | |
| }; | |
| vcc_3v3_s3: dcdc-reg8 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <3300000>; | |
| regulator-min-microvolt = <3300000>; | |
| regulator-name = "vcc_3v3_s3"; | |
| regulator-state-mem { | |
| regulator-on-in-suspend; | |
| regulator-suspend-microvolt = <3300000>; | |
| }; | |
| }; | |
| vddq_ddr_s0: dcdc-reg9 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <600000>; | |
| regulator-min-microvolt = <600000>; | |
| regulator-name = "vddq_ddr_s0"; | |
| regulator-state-mem { | |
| regulator-off-in-suspend; | |
| }; | |
| }; | |
| vcc_1v8_s3: dcdc-reg10 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <1800000>; | |
| regulator-min-microvolt = <1800000>; | |
| regulator-name = "vcc_1v8_s3"; | |
| regulator-state-mem { | |
| regulator-on-in-suspend; | |
| regulator-suspend-microvolt = <1800000>; | |
| }; | |
| }; | |
| vcc_1v8_s0: pldo-reg1 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <1800000>; | |
| regulator-min-microvolt = <1800000>; | |
| regulator-name = "vcc_1v8_s0"; | |
| regulator-state-mem { | |
| regulator-off-in-suspend; | |
| }; | |
| }; | |
| vcca_1v8_s0: pldo-reg2 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <1800000>; | |
| regulator-min-microvolt = <1800000>; | |
| regulator-name = "vcca_1v8_s0"; | |
| regulator-state-mem { | |
| regulator-off-in-suspend; | |
| regulator-suspend-microvolt = <1800000>; | |
| }; | |
| }; | |
| vdda_1v2_s0: pldo-reg3 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <1200000>; | |
| regulator-min-microvolt = <1200000>; | |
| regulator-name = "vdda_1v2_s0"; | |
| regulator-state-mem { | |
| regulator-off-in-suspend; | |
| }; | |
| }; | |
| vcca_3v3_s0: pldo-reg4 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <3300000>; | |
| regulator-min-microvolt = <3300000>; | |
| regulator-name = "vcca_3v3_s0"; | |
| regulator-state-mem { | |
| regulator-off-in-suspend; | |
| }; | |
| }; | |
| vccio_sd_s0: pldo-reg5 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <3300000>; | |
| regulator-min-microvolt = <1800000>; | |
| regulator-name = "vccio_sd_s0"; | |
| regulator-state-mem { | |
| regulator-off-in-suspend; | |
| }; | |
| }; | |
| vcc_1v8_s3_pldo6: pldo-reg6 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <1800000>; | |
| regulator-min-microvolt = <1800000>; | |
| regulator-name = "vcc_1v8_s3_pldo6"; | |
| regulator-state-mem { | |
| regulator-on-in-suspend; | |
| regulator-suspend-microvolt = <1800000>; | |
| }; | |
| }; | |
| vdd_0v75_s3: nldo-reg1 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <750000>; | |
| regulator-min-microvolt = <750000>; | |
| regulator-name = "vdd_0v75_s3"; | |
| regulator-state-mem { | |
| regulator-on-in-suspend; | |
| regulator-suspend-microvolt = <750000>; | |
| }; | |
| }; | |
| vdda_ddr_pll_s0: nldo-reg2 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <850000>; | |
| regulator-min-microvolt = <850000>; | |
| regulator-name = "vdda_ddr_pll_s0"; | |
| regulator-state-mem { | |
| regulator-off-in-suspend; | |
| regulator-suspend-microvolt = <850000>; | |
| }; | |
| }; | |
| avdd_0v75_s0: nldo-reg3 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-max-microvolt = <750000>; | |
| regulator-min-microvolt = <750000>; | |
| regulator-name = "avdd_0v75_s0"; | |
| regulator-state-mem { | |
| regulator-off-in-suspend; | |
| }; | |
| }; | |
| vdda_0v85_s0: nldo-reg4 { | |
| regulator-always-on; | |
| regulator-boot-on; | |
| regulator-min-microvolt = <850000>; | |
| regulator-max-microvolt = <850000>; | |
| regulator-name = "vdda_0v85_s0"; | |
| regulator-state-mem { | |
| regulator-off-in-suspend; | |
| }; | |
| }; | |
| /* Schematics show not in use */ | |
| nldo-reg5 { | |
| }; | |
| }; | |
| }; | |
| }; | |
| &uart2 { | |
| pinctrl-0 = <&uart2m0_xfer>; | |
| status = "okay"; | |
| }; | |
| /* still has issues, need to troubleshoot further */ | |
| &uart9 { | |
| pinctrl-0 = <&uart9m2_xfer>, <&uart9m2_ctsn>, <&uart9m2_rtsn>; | |
| pinctrl-names = "default"; | |
| uart-has-rtscts; | |
| status = "okay"; | |
| bluetooth { | |
| compatible = "realtek,rtl8821cs-bt", | |
| "realtek,rtl8723bs-bt"; | |
| device-wake-gpios = <&gpio0 RK_PC6 GPIO_ACTIVE_HIGH>; | |
| enable-gpios = <&gpio0 RK_PD4 GPIO_ACTIVE_HIGH>; | |
| host-wake-gpios = <&gpio0 RK_PC5 GPIO_ACTIVE_HIGH>; | |
| pinctrl-0 = <&bt_reset &bt_wake_dev &bt_wake_host>; | |
| pinctrl-names = "default"; | |
| }; | |
| }; | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment