mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
mmc: fix 312x pinctrl
This commit is contained in:
@@ -666,10 +666,30 @@
|
||||
|
||||
|
||||
};
|
||||
sdio0_clk: sdio0_clk {
|
||||
rockchip,pins = <SDMMC_CLKOUT>;
|
||||
rockchip,pull = <VALUE_PULL_UP>;
|
||||
};
|
||||
sdio0_bus1: sdio0-bus-width1 {
|
||||
rockchip,pins = <SDMMC_DATA0>;
|
||||
rockchip,pull = <VALUE_PULL_UP>;
|
||||
};
|
||||
sdio0_bus4: sdio0-bus-width4 {
|
||||
rockchip,pins = <SDMMC_DATA0>,
|
||||
<SDMMC_DATA1>,
|
||||
<SDMMC_DATA2>,
|
||||
<SDMMC_DATA3>;
|
||||
rockchip,pull = <VALUE_PULL_UP>;
|
||||
};
|
||||
|
||||
sdio0_gpio: sdio0_gpio{
|
||||
rockchip,pins = <GPIO0_D6>, //pwren
|
||||
<GPIO0_A3>; //cmd
|
||||
<GPIO0_A3>, //cmd
|
||||
<GPIO1_A0>, //clk
|
||||
<GPIO1_A1>, //data0
|
||||
<GPIO1_A2>, //data1
|
||||
<GPIO1_A4>, //data2
|
||||
<GPIO1_A5>; //data3
|
||||
rockchip,pull = <VALUE_PULL_UP>;
|
||||
};
|
||||
|
||||
|
||||
@@ -505,7 +505,7 @@
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
pinctrl-names = "default","idle";
|
||||
pinctrl-0 = <&sdio0_pwren &sdio0_cmd>;
|
||||
pinctrl-0 = <&sdio0_pwren &sdio0_cmd &sdio0_clk &sdio0_bus4>;
|
||||
pinctrl-1 = <&sdio0_gpio>;
|
||||
clocks = <&clk_sdio>, <&clk_gates5 11>;
|
||||
clock-names = "clk_mmc", "hclk_mmc";
|
||||
|
||||
Reference in New Issue
Block a user