Commit b1b8f45b authored by Stefan Wahren's avatar Stefan Wahren Committed by Eric Anholt

ARM: dts: bcm2837: Add missing GPIOs of Expander

After commit a98d90e7 ("gpio: raspberrypi-exp: Driver for RPi3 GPIO
expander via mailbox service") we are able to control the rest of the
GPIOs of the RPi 3. So add all the missing parts (ACT LED,
Wifi & BT control, HDMI detect) to the DT.
Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: default avatarEric Anholt <eric@anholt.net>
Signed-off-by: default avatarEric Anholt <eric@anholt.net>
parent c4bb9782
...@@ -20,9 +20,14 @@ memory { ...@@ -20,9 +20,14 @@ memory {
leds { leds {
act { act {
gpios = <&gpio 47 GPIO_ACTIVE_HIGH>; gpios = <&expgpio 2 GPIO_ACTIVE_HIGH>;
}; };
}; };
wifi_pwrseq: wifi-pwrseq {
compatible = "mmc-pwrseq-simple";
reset-gpios = <&expgpio 1 GPIO_ACTIVE_HIGH>;
};
}; };
&firmware { &firmware {
...@@ -48,6 +53,10 @@ &pwm { ...@@ -48,6 +53,10 @@ &pwm {
status = "okay"; status = "okay";
}; };
&hdmi {
hpd-gpios = <&expgpio 4 GPIO_ACTIVE_LOW>;
};
/* uart0 communicates with the BT module */ /* uart0 communicates with the BT module */
&uart0 { &uart0 {
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -57,6 +66,7 @@ &uart0 { ...@@ -57,6 +66,7 @@ &uart0 {
bluetooth { bluetooth {
compatible = "brcm,bcm43438-bt"; compatible = "brcm,bcm43438-bt";
max-speed = <2000000>; max-speed = <2000000>;
shutdown-gpios = <&expgpio 0 GPIO_ACTIVE_HIGH>;
}; };
}; };
...@@ -69,11 +79,19 @@ &uart1 { ...@@ -69,11 +79,19 @@ &uart1 {
/* SDHCI is used to control the SDIO for wireless */ /* SDHCI is used to control the SDIO for wireless */
&sdhci { &sdhci {
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&emmc_gpio34>; pinctrl-0 = <&emmc_gpio34>;
status = "okay"; status = "okay";
bus-width = <4>; bus-width = <4>;
non-removable; non-removable;
mmc-pwrseq = <&wifi_pwrseq>;
brcmf: wifi@1 {
reg = <1>;
compatible = "brcm,bcm4329-fmac";
};
}; };
/* SDHOST is used to drive the SD card */ /* SDHOST is used to drive the SD card */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment