boards: st: stm32h745i_disco: fix CAN phy devicetree representation
On this board, the CAN transceivers are not GPIO controlled, but passive,
and should not be represented by the "can-transceiver-gpio" compatible (as
this leads to driver compilation warnings due to missing GPIO properties).
Fixes: c8faa1e380
Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
0289105758
commit
ed53fdd431
1 changed files with 8 additions and 14 deletions
|
@ -33,18 +33,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
transceiver0: can-phy0 {
|
|
||||||
compatible = "microchip,mcp2562fd", "can-transceiver-gpio";
|
|
||||||
max-bitrate = <5000000>;
|
|
||||||
#phy-cells = <0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
transceiver1: can-phy1 {
|
|
||||||
compatible = "microchip,mcp2562fd", "can-transceiver-gpio";
|
|
||||||
max-bitrate = <5000000>;
|
|
||||||
#phy-cells = <0>;
|
|
||||||
};
|
|
||||||
|
|
||||||
/* RM0455 - 23.6 External device address mapping */
|
/* RM0455 - 23.6 External device address mapping */
|
||||||
sdram2: sdram@d0000000 {
|
sdram2: sdram@d0000000 {
|
||||||
compatible = "zephyr,memory-region", "mmio-sram";
|
compatible = "zephyr,memory-region", "mmio-sram";
|
||||||
|
@ -218,7 +206,10 @@
|
||||||
bus-speed-data = <1000000>;
|
bus-speed-data = <1000000>;
|
||||||
sample-point = <875>;
|
sample-point = <875>;
|
||||||
sample-point-data = <875>;
|
sample-point-data = <875>;
|
||||||
phys = <&transceiver0>;
|
|
||||||
|
can-transceiver {
|
||||||
|
max-bitrate = <5000000>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&fdcan2 {
|
&fdcan2 {
|
||||||
|
@ -229,7 +220,10 @@
|
||||||
bus-speed-data = <1000000>;
|
bus-speed-data = <1000000>;
|
||||||
sample-point = <875>;
|
sample-point = <875>;
|
||||||
sample-point-data = <875>;
|
sample-point-data = <875>;
|
||||||
phys = <&transceiver1>;
|
|
||||||
|
can-transceiver {
|
||||||
|
max-bitrate = <5000000>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&fmc {
|
&fmc {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue