mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 20:32:04 +09:00
wifi: enable sdio interface. add wifi resources into dts.
This commit is contained in:
@@ -62,13 +62,13 @@
|
||||
mmc,ocr = <(MMC_VDD_25_26 | MMC_VDD_26_27 | MMC_VDD_27_28 | MMC_VDD_28_29 |
|
||||
MMC_VDD_29_30 | MMC_VDD_30_31 | MMC_VDD_31_32 | MMC_VDD_32_33 |
|
||||
MMC_VDD_33_34 | MMC_VDD_34_35 )>;
|
||||
mmc,use_dma = <MMC_USE_DMA 1>;
|
||||
mmc,dma_ch = <SDIO_DMA_CHN>;
|
||||
mmc,int = <CONTROLLER_INT_DETECT>;
|
||||
//mmc,int = <GPIO_INT_DETECT>;
|
||||
//OOB pin?
|
||||
mmc,emmc_is_selected = <0>;
|
||||
status = "disabled";
|
||||
//mmc,use_dma = <MMC_USE_DMA 1>;
|
||||
//mmc,dma_ch = <SDIO_DMA_CHN>;
|
||||
//mmc,int = <CONTROLLER_INT_DETECT>;
|
||||
////mmc,int = <GPIO_INT_DETECT>;
|
||||
////OOB pin?
|
||||
//mmc,emmc_is_selected = <0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
emmc: rksdmmc@1021C000 {
|
||||
|
||||
@@ -19,6 +19,35 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
wireless-wlan {
|
||||
compatible = "wlan-platdata";
|
||||
wifi_chip_type = "";
|
||||
sdio_vref = <28000>;
|
||||
|
||||
wlan_ctrl_pmic {
|
||||
power_ctrl_by_pmu = "false";
|
||||
pmu_regulator = "act_ldo3";
|
||||
pmu_enable_level = <1>; //1->HIGH, 0->LOW
|
||||
};
|
||||
|
||||
wlan_ctrl_gpios {
|
||||
gpio0 {
|
||||
pin-func = "wlan_poweren";
|
||||
gpios = <&gpio3 GPIO_D0 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
|
||||
gpio1 {
|
||||
pin-func = "wlan_reset";
|
||||
#gpios = <&gpio0 GPIO_A2 GPIO_ACTIVE_LOW>;
|
||||
};
|
||||
|
||||
gpio2 {
|
||||
pin-func = "wlan_wake_host_irq";
|
||||
gpios = <&gpio3 GPIO_D2 GPIO_ACTIVE_HIGH>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
backlight {
|
||||
compatible = "pwm-backlight";
|
||||
pwms = <&pwm3 0 25000>;
|
||||
|
||||
Reference in New Issue
Block a user