@@ -52,6 +52,28 @@
serial2 = &uart2;
serial3 = &uart3;
};
+
+ sdio0_vddo_ctrl_reg: sdio0_vddo_ctrl {
+ compatible = "regulator-gpio";
+ regulator-name = "sdio0_vddo_ctrl_reg";
+ regulator-type = "voltage";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ gpios = <&pca9505 18 0>;
+ states = <3300000 0x0
+ 1800000 0x1>;
+ };
+
+ sdio1_vddo_ctrl_reg: sdio1_vddo_ctrl {
+ compatible = "regulator-gpio";
+ regulator-name = "sdio1_vddo_ctrl_reg";
+ regulator-type = "voltage";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <3300000>;
+ gpios = <&pca9505 19 0>;
+ states = <3300000 0x0
+ 1800000 0x1>;
+ };
};
&memory { /* Default DRAM banks */
@@ -63,6 +85,10 @@
status = "okay";
};
+&pwm {
+ status = "okay";
+};
+
&i2c0 {
status = "okay";
@@ -99,3 +125,16 @@
#size-cells = <1>;
};
};
+
+&sdio0 {
+ vqmmc-supply = <&sdio0_vddo_ctrl_reg>;
+ non-removable;
+ full-pwr-cycle;
+ status = "okay";
+};
+
+&sdio1 {
+ vqmmc-supply = <&sdio1_vddo_ctrl_reg>;
+ full-pwr-cycle;
+ status = "okay";
+};
@@ -266,6 +266,14 @@
gpio-controller;
};
+ pwm: pwm@68910000{
+ compatible = "brcm,iproc-pwm";
+ reg = <0x68910000 0x1000>;
+ clocks = <&crmu_ref25m>;
+ #pwm-cells = <3>;
+ status = "disabled";
+ };
+
i2c0: i2c@689b0000 {
compatible = "brcm,iproc-i2c";
reg = <0x689b0000 0x100>;
@@ -425,5 +433,25 @@
brcm,nand-has-wp;
status = "disabled";
};
+
+ sdio0: sdhci@68cf1000 {
+ compatible = "brcm,sdhci-iproc";
+ reg = <0x68cf1000 0x100>;
+ interrupts = <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>;
+ bus-width = <8>;
+ clocks = <&sdio0_clk>;
+ iommus = <&smmu 0x6002 0x0000>;
+ status = "disabled";
+ };
+
+ sdio1: sdhci@68cf2000 {
+ compatible = "brcm,sdhci-iproc";
+ reg = <0x68cf2000 0x100>;
+ interrupts = <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>;
+ bus-width = <8>;
+ clocks = <&sdio1_clk>;
+ iommus = <&smmu 0x6003 0x0000>;
+ status = "disabled";
+ };
};
};