ARM: dts: sun7i: Provide default muxing for relevant controllers
The I2C and MMC controllers have only one muxing option in the SoC. In such a case, we can just move the muxing into the DTSI, and remove it from the DTS. Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
This commit is contained in:
@@ -150,8 +150,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -174,8 +172,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */
|
cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */
|
||||||
@@ -185,8 +181,6 @@
|
|||||||
&mmc3 {
|
&mmc3 {
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc3_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
mmc-pwrseq = <&mmc3_pwrseq>;
|
mmc-pwrseq = <&mmc3_pwrseq>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
|
|||||||
@@ -152,8 +152,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -164,8 +162,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c2_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -176,8 +172,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */
|
cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */
|
||||||
|
|||||||
@@ -120,8 +120,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -136,8 +134,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c2_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -148,8 +144,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */
|
cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */
|
||||||
@@ -157,8 +151,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc3 {
|
&mmc3 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc3_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
mmc-pwrseq = <&wifi_pwrseq>;
|
mmc-pwrseq = <&wifi_pwrseq>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
|
|||||||
@@ -135,8 +135,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -147,8 +145,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c1_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -159,8 +155,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
||||||
|
|||||||
@@ -168,8 +168,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -181,13 +179,10 @@
|
|||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&i2c1_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c2_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -198,8 +193,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
||||||
@@ -207,8 +200,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc3 {
|
&mmc3 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc3_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
mmc-pwrseq = <&mmc3_pwrseq>;
|
mmc-pwrseq = <&mmc3_pwrseq>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
|
|||||||
@@ -116,8 +116,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -131,20 +129,14 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c1_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c2_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&i2c3 {
|
&i2c3 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c3_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -155,8 +147,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v0>;
|
vmmc-supply = <®_vcc3v0>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
||||||
@@ -164,8 +154,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc3 {
|
&mmc3 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc3_pins>;
|
|
||||||
vmmc-supply = <®_mmc3_vdd>;
|
vmmc-supply = <®_mmc3_vdd>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
non-removable;
|
non-removable;
|
||||||
|
|||||||
@@ -126,8 +126,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -148,8 +146,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
||||||
@@ -157,8 +153,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc3 {
|
&mmc3 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc3_pins>;
|
|
||||||
vmmc-supply = <®_vmmc3>;
|
vmmc-supply = <®_vmmc3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
non-removable;
|
non-removable;
|
||||||
|
|||||||
@@ -85,8 +85,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -97,14 +95,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c1_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 8 5 GPIO_ACTIVE_LOW>; /* PI5 */
|
cd-gpios = <&pio 8 5 GPIO_ACTIVE_LOW>; /* PI5 */
|
||||||
|
|||||||
@@ -120,8 +120,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
||||||
|
|||||||
@@ -195,8 +195,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -207,8 +205,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c2_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -219,8 +215,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */
|
cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */
|
||||||
|
|||||||
@@ -92,8 +92,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -114,8 +112,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
||||||
@@ -123,8 +119,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc2 {
|
&mmc2 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc2_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
non-removable;
|
non-removable;
|
||||||
|
|||||||
@@ -106,8 +106,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -121,20 +119,14 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c1_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c2_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v0>;
|
vmmc-supply = <®_vcc3v0>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
||||||
|
|||||||
@@ -21,8 +21,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc2 {
|
&mmc2 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc2_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
mmc-pwrseq = <&mmc2_pwrseq>;
|
mmc-pwrseq = <&mmc2_pwrseq>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
|
|||||||
@@ -131,8 +131,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -143,14 +141,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c1_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c2_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -209,8 +203,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
||||||
@@ -218,8 +210,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc3 {
|
&mmc3 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc3_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 0 GPIO_ACTIVE_LOW>; /* PH0 */
|
cd-gpios = <&pio 7 0 GPIO_ACTIVE_LOW>; /* PH0 */
|
||||||
|
|||||||
@@ -20,8 +20,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc2 {
|
&mmc2 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc2_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
mmc-pwrseq = <&mmc2_pwrseq>;
|
mmc-pwrseq = <&mmc2_pwrseq>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
|
|||||||
@@ -130,8 +130,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -143,8 +141,6 @@
|
|||||||
|
|
||||||
/* Exposed to UEXT1 */
|
/* Exposed to UEXT1 */
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c1_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
eeprom: eeprom@50 {
|
eeprom: eeprom@50 {
|
||||||
@@ -156,8 +152,6 @@
|
|||||||
|
|
||||||
/* Exposed to UEXT2 */
|
/* Exposed to UEXT2 */
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c2_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -168,8 +162,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>;
|
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>;
|
||||||
@@ -177,8 +169,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc3 {
|
&mmc3 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc3_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
mmc-pwrseq = <&rtl_pwrseq>;
|
mmc-pwrseq = <&rtl_pwrseq>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
|
|||||||
@@ -126,8 +126,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -142,8 +140,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c1_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
eeprom: eeprom@50 {
|
eeprom: eeprom@50 {
|
||||||
@@ -154,8 +150,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
||||||
|
|||||||
@@ -54,8 +54,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc2 {
|
&mmc2 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc2_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
vqmmc-supply = <®_vcc3v3>;
|
vqmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
|
|||||||
@@ -131,8 +131,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -143,8 +141,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c1_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
eeprom: eeprom@50 {
|
eeprom: eeprom@50 {
|
||||||
@@ -159,8 +155,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
||||||
|
|||||||
@@ -54,8 +54,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc2 {
|
&mmc2 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc2_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
non-removable;
|
non-removable;
|
||||||
|
|||||||
@@ -138,8 +138,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -150,8 +148,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c1_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
eeprom: eeprom@50 {
|
eeprom: eeprom@50 {
|
||||||
@@ -162,8 +158,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c2_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -222,8 +216,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
||||||
@@ -231,8 +223,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc3 {
|
&mmc3 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc3_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 11 GPIO_ACTIVE_LOW>; /* PH11 */
|
cd-gpios = <&pio 7 11 GPIO_ACTIVE_LOW>; /* PH11 */
|
||||||
|
|||||||
@@ -141,8 +141,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -161,8 +159,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */
|
cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */
|
||||||
@@ -170,8 +166,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc3 {
|
&mmc3 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc3_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 11 GPIO_ACTIVE_LOW>; /* PH11 */
|
cd-gpios = <&pio 7 11 GPIO_ACTIVE_LOW>; /* PH11 */
|
||||||
|
|||||||
@@ -107,8 +107,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -127,8 +125,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */
|
cd-gpios = <&pio 7 10 GPIO_ACTIVE_LOW>; /* PH10 */
|
||||||
|
|||||||
@@ -134,8 +134,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -152,8 +150,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
||||||
|
|||||||
@@ -132,8 +132,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -152,8 +150,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
||||||
|
|||||||
@@ -89,8 +89,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -103,14 +101,10 @@
|
|||||||
#include "axp209.dtsi"
|
#include "axp209.dtsi"
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c1_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c2_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
gt911: touchscreen@5d {
|
gt911: touchscreen@5d {
|
||||||
@@ -144,8 +138,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
||||||
|
|||||||
@@ -91,8 +91,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c0 {
|
&i2c0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c0_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
||||||
axp209: pmic@34 {
|
axp209: pmic@34 {
|
||||||
@@ -103,22 +101,16 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&i2c1 {
|
&i2c1 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c1_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&i2c2 {
|
&i2c2 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&i2c2_pins>;
|
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
#include "axp209.dtsi"
|
#include "axp209.dtsi"
|
||||||
|
|
||||||
&mmc0 {
|
&mmc0 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc0_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
cd-gpios = <&pio 7 1 GPIO_ACTIVE_LOW>; /* PH1 */
|
||||||
@@ -126,8 +118,6 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
&mmc3 {
|
&mmc3 {
|
||||||
pinctrl-names = "default";
|
|
||||||
pinctrl-0 = <&mmc3_pins>;
|
|
||||||
vmmc-supply = <®_vcc3v3>;
|
vmmc-supply = <®_vcc3v3>;
|
||||||
mmc-pwrseq = <&mmc3_pwrseq>;
|
mmc-pwrseq = <&mmc3_pwrseq>;
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
|
|||||||
@@ -514,6 +514,8 @@
|
|||||||
"output",
|
"output",
|
||||||
"sample";
|
"sample";
|
||||||
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&mmc0_pins>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
@@ -548,6 +550,8 @@
|
|||||||
"output",
|
"output",
|
||||||
"sample";
|
"sample";
|
||||||
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&mmc2_pins>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
@@ -565,6 +569,8 @@
|
|||||||
"output",
|
"output",
|
||||||
"sample";
|
"sample";
|
||||||
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&mmc3_pins>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
@@ -1218,6 +1224,8 @@
|
|||||||
reg = <0x01c2ac00 0x400>;
|
reg = <0x01c2ac00 0x400>;
|
||||||
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
clocks = <&ccu CLK_APB1_I2C0>;
|
clocks = <&ccu CLK_APB1_I2C0>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&i2c0_pins>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
@@ -1229,6 +1237,8 @@
|
|||||||
reg = <0x01c2b000 0x400>;
|
reg = <0x01c2b000 0x400>;
|
||||||
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
clocks = <&ccu CLK_APB1_I2C1>;
|
clocks = <&ccu CLK_APB1_I2C1>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&i2c1_pins>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
@@ -1240,6 +1250,8 @@
|
|||||||
reg = <0x01c2b400 0x400>;
|
reg = <0x01c2b400 0x400>;
|
||||||
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
clocks = <&ccu CLK_APB1_I2C2>;
|
clocks = <&ccu CLK_APB1_I2C2>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&i2c2_pins>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
@@ -1251,6 +1263,8 @@
|
|||||||
reg = <0x01c2b800 0x400>;
|
reg = <0x01c2b800 0x400>;
|
||||||
interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
clocks = <&ccu CLK_APB1_I2C3>;
|
clocks = <&ccu CLK_APB1_I2C3>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&i2c3_pins>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
|
|||||||
Reference in New Issue
Block a user