compatible = "mti,cpu-interrupt-controller";
};
- mmc_reg_1v8: regulator-1v8 {
+ reg_vmmc: regulator-vmmc {
compatible = "regulator-fixed";
-
- enable-active-high;
-
regulator-always-on;
- regulator-max-microvolt = <1800000>;
- regulator-min-microvolt = <1800000>;
- regulator-name = "mmc_io";
+ regulator-max-microvolt = <3300000>;
+ regulator-min-microvolt = <3300000>;
+ regulator-name = "mmc_power";
};
- mmc_reg_3v3: regulator-3v3 {
+ reg_vqmmc: regulator-vqmmc {
compatible = "regulator-fixed";
-
- enable-active-high;
-
regulator-always-on;
regulator-max-microvolt = <3300000>;
regulator-min-microvolt = <3300000>;
- regulator-name = "mmc_power";
+ regulator-name = "mmc_io";
};
palmbus: palmbus@10000000 {
reg = <0x10130000 0x4000>;
bus-width = <4>;
-
+ max-frequency = <24000000>;
cap-mmc-highspeed;
cap-sd-highspeed;
+ disable-wp;
+ no-1-8-v;
clocks = <&sysc 15>, <&sysc 15>;
clock-names = "source", "hclk";
- disable-wp;
-
interrupt-parent = <&intc>;
interrupts = <14>;
- max-frequency = <24000000>;
-
pinctrl-names = "default", "state_uhs";
pinctrl-0 = <&sdhci_pins>;
pinctrl-1 = <&sdhci_pins>;
resets = <&sysc 30>;
reset-names = "hrst";
- vmmc-supply = <&mmc_reg_3v3>;
- vqmmc-supply = <&mmc_reg_1v8>;
+ vmmc-supply = <®_vmmc>;
+ vqmmc-supply = <®_vqmmc>;
status = "disabled";
};
mediatek,ephy-base = /bits/ 8 <12>;
};
-&mmc_reg_3v3 {
- /delete-property/ enable-active-high;
-
- gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
-};
-
&pcie {
status = "okay";
};
};
};
+®_vmmc {
+ gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
+};
+
&wmac {
pinctrl-names = "default", "pa_gpio";
pinctrl-0 = <&pa_pins>;
bootargs = "console=ttyS0,57600";
};
- mmc_reg_1v8: regulator-1v8 {
+ reg_vmmc: regulator-vmmc {
compatible = "regulator-fixed";
-
- enable-active-high;
-
regulator-always-on;
- regulator-max-microvolt = <1800000>;
- regulator-min-microvolt = <1800000>;
- regulator-name = "mmc_io";
+ regulator-max-microvolt = <3300000>;
+ regulator-min-microvolt = <3300000>;
+ regulator-name = "mmc_power";
};
- mmc_reg_3v3: regulator-3v3 {
+ reg_vqmmc: regulator-vqmmc {
compatible = "regulator-fixed";
-
- enable-active-high;
-
regulator-always-on;
regulator-max-microvolt = <3300000>;
regulator-min-microvolt = <3300000>;
- regulator-name = "mmc_power";
+ regulator-name = "mmc_io";
};
reg_vbus: regulator-vbus {
reg = <0x1e130000 0x4000>;
bus-width = <4>;
-
+ max-frequency = <48000000>;
cap-mmc-highspeed;
cap-sd-highspeed;
+ disable-wp;
+ no-1-8-v;
clocks = <&sysc MT7621_CLK_SHXC>, <&sysc MT7621_CLK_SHXC>;
clock-names = "source", "hclk";
- disable-wp;
-
interrupt-parent = <&gic>;
interrupts = <GIC_SHARED 20 IRQ_TYPE_LEVEL_HIGH>;
- max-frequency = <48000000>;
-
pinctrl-names = "default", "state_uhs";
pinctrl-0 = <&sdhci_pins>;
pinctrl-1 = <&sdhci_pins>;
resets = <&sysc MT7621_RST_SDXC>;
reset-names = "hrst";
- vmmc-supply = <&mmc_reg_3v3>;
- vqmmc-supply = <&mmc_reg_1v8>;
+ vmmc-supply = <®_vmmc>;
+ vqmmc-supply = <®_vqmmc>;
status = "disabled";
};
compatible = "mti,cpu-interrupt-controller";
};
- mmc_reg_1v8: regulator-1v8 {
+ reg_vmmc: regulator-vmmc {
compatible = "regulator-fixed";
-
- enable-active-high;
-
regulator-always-on;
- regulator-max-microvolt = <1800000>;
- regulator-min-microvolt = <1800000>;
- regulator-name = "mmc_io";
+ regulator-max-microvolt = <3300000>;
+ regulator-min-microvolt = <3300000>;
+ regulator-name = "mmc_power";
};
- mmc_reg_3v3: regulator-3v3 {
+ reg_vqmmc: regulator-vqmmc {
compatible = "regulator-fixed";
-
- enable-active-high;
-
regulator-always-on;
regulator-max-microvolt = <3300000>;
regulator-min-microvolt = <3300000>;
- regulator-name = "mmc_power";
+ regulator-name = "mmc_io";
};
palmbus: palmbus@10000000 {
reg = <0x10130000 0x4000>;
bus-width = <4>;
-
+ max-frequency = <24000000>;
cap-mmc-highspeed;
cap-sd-highspeed;
+ disable-wp;
+ no-1-8-v;
clocks = <&sysc 16>, <&sysc 16>;
clock-names = "source", "hclk";
- disable-wp;
-
interrupt-parent = <&intc>;
interrupts = <14>;
- max-frequency = <24000000>;
-
pinctrl-names = "default", "state_uhs";
pinctrl-0 = <&sdxc_pins>;
pinctrl-1 = <&sdxc_pins>;
resets = <&sysc 30>;
reset-names = "hrst";
- vmmc-supply = <&mmc_reg_3v3>;
- vqmmc-supply = <&mmc_reg_1v8>;
+ vmmc-supply = <®_vmmc>;
+ vqmmc-supply = <®_vqmmc>;
status = "disabled";
};