Commit 34a7cdf0 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson

arm64: dts: qcom: qrb4210-rb2: Enable CAN bus controller

Enable the Microchip mcp2518fd hosted on the SPI5 bus.
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-and-Tested-by: default avatarBhupesh Sharma <bhupesh.sharma@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230515-topic-rb2-bits-v1-5-a52d154a639d@linaro.org
parent 42be4edd
......@@ -20,6 +20,14 @@ chosen {
stdout-path = "serial0:115200n8";
};
clocks {
clk40M: can-clk {
compatible = "fixed-clock";
clock-frequency = <40000000>;
#clock-cells = <0>;
};
};
hdmi-connector {
compatible = "hdmi-connector";
type = "a";
......@@ -390,6 +398,20 @@ &sdhc_2 {
status = "okay";
};
&spi5 {
status = "okay";
can@0 {
compatible = "microchip,mcp2518fd";
reg = <0>;
interrupts-extended = <&tlmm 39 IRQ_TYPE_LEVEL_LOW>;
clocks = <&clk40M>;
spi-max-frequency = <10000000>;
vdd-supply = <&vdc_5v>;
xceiver-supply = <&vdc_5v>;
};
};
&sleep_clk {
clock-frequency = <32000>;
};
......
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