mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 19:19:57 +07:00
00a33ec464
In case dr_mode isn't passed via DT, the dwc2 defaults to OTG mode. But all Raspberry Pi boards here are designed only for host mode. So fix this issue by providing a dtsi file which set the dr_mode to host. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Eric Anholt <eric@anholt.net>
30 lines
473 B
Plaintext
30 lines
473 B
Plaintext
/dts-v1/;
|
|
#include "bcm2835.dtsi"
|
|
#include "bcm2835-rpi.dtsi"
|
|
#include "bcm283x-rpi-usb-host.dtsi"
|
|
|
|
/ {
|
|
compatible = "raspberrypi,model-a", "brcm,bcm2835";
|
|
model = "Raspberry Pi Model A";
|
|
|
|
leds {
|
|
act {
|
|
gpios = <&gpio 16 1>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&gpio {
|
|
pinctrl-0 = <&gpioout &alt0 &i2s_alt2 &alt3>;
|
|
|
|
/* I2S interface */
|
|
i2s_alt2: i2s_alt2 {
|
|
brcm,pins = <28 29 30 31>;
|
|
brcm,function = <BCM2835_FSEL_ALT2>;
|
|
};
|
|
};
|
|
|
|
&hdmi {
|
|
hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
|
|
};
|