Skip to content

Commit 423c26f

Browse files
committed
dt: Add a few missing nodes to bcm2712-ds.dtsi
1 parent c29ed23 commit 423c26f

File tree

1 file changed

+81
-0
lines changed

1 file changed

+81
-0
lines changed

arch/arm64/boot/dts/broadcom/bcm2712-ds.dtsi

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#include <dt-bindings/interrupt-controller/irq.h>
44
#include <dt-bindings/interrupt-controller/arm-gic.h>
55
#include <dt-bindings/pwm/pwm.h>
6+
#include <dt-bindings/power/raspberrypi-power.h>
67

78
/*
89
* These are RP1 related, but can't go in rp1-common.dtsi as that is include in
@@ -847,6 +848,86 @@ i2c_csi_dsi1: &rp1_i2c4 { // Note: This is for MIPI1 connector only
847848
};
848849
};
849850

851+
852+
/* uarta communicates with the BT module */
853+
&uarta {
854+
uart-has-rtscts;
855+
auto-flow-control;
856+
status = "okay";
857+
clock-frequency = <96000000>;
858+
pinctrl-0 = <&uarta_24_pins &bt_shutdown_pins>;
859+
pinctrl-names = "default";
860+
861+
bluetooth: bluetooth {
862+
compatible = "brcm,bcm43438-bt";
863+
max-speed = <3000000>;
864+
shutdown-gpios = <&gio 29 GPIO_ACTIVE_HIGH>;
865+
local-bd-address = [ 00 00 00 00 00 00 ];
866+
};
867+
};
868+
869+
&i2c10 {
870+
clock-frequency = <400000>;
871+
pinctrl-0 = <&i2c3_m4_agpio0_pins>;
872+
pinctrl-names = "default";
873+
};
874+
875+
&usb {
876+
/* CHECK ME: IS THIS CORRECT ON PI5? */
877+
power-domains = <&power RPI_POWER_DOMAIN_USB>;
878+
};
879+
880+
/* SDIO2 drives the WLAN interface */
881+
&sdio2 {
882+
pinctrl-0 = <&sdio2_30_pins>;
883+
pinctrl-names = "default";
884+
bus-width = <4>;
885+
vmmc-supply = <&wl_on_reg>;
886+
sd-uhs-ddr50;
887+
non-removable;
888+
status = "okay";
889+
#address-cells = <1>;
890+
#size-cells = <0>;
891+
892+
wifi: wifi@1 {
893+
reg = <1>;
894+
compatible = "brcm,bcm4329-fmac";
895+
local-mac-address = [00 00 00 00 00 00];
896+
};
897+
};
898+
899+
&pinctrl {
900+
spi10_gpio2: spi10_gpio2 {
901+
function = "vc_spi0";
902+
pins = "gpio2", "gpio3", "gpio4";
903+
bias-disable;
904+
};
905+
906+
spi10_cs_gpio1: spi10_cs_gpio1 {
907+
function = "gpio";
908+
pins = "gpio1";
909+
bias-pull-up;
910+
};
911+
};
912+
913+
spi10_pins: &spi10_gpio2 {};
914+
spi10_cs_pins: &spi10_cs_gpio1 {};
915+
916+
&spi10 {
917+
pinctrl-names = "default";
918+
cs-gpios = <&gio 1 1>;
919+
pinctrl-0 = <&spi10_pins &spi10_cs_pins>;
920+
921+
spidev10: spidev@0 {
922+
compatible = "spidev";
923+
reg = <0>; /* CE0 */
924+
#address-cells = <1>;
925+
#size-cells = <0>;
926+
spi-max-frequency = <20000000>;
927+
status = "okay";
928+
};
929+
};
930+
850931
/* Enable RP1 peripherals, and add extra parameters */
851932

852933
gpio: &rp1_gpio {

0 commit comments

Comments
 (0)