mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
ODROID-M1: dtb/dtbo: Add can0 overlay
change can0 clock freq 150MHz to 200MHz to make the signal more stable. Signed-off-by: Steve Jeong <how2soft@gmail.com> Change-Id: Icab5a5fd350537e9e9f80c13b6e92925a598c86f
This commit is contained in:
committed by
codewalkerster
parent
9d643262dd
commit
17a0dc399e
@@ -1,6 +1,7 @@
|
||||
# Overlays for the Odroid platform
|
||||
|
||||
dtbo-$(CONFIG_ARCH_ROCKCHIP_ODROIDM1) += \
|
||||
can0.dtbo \
|
||||
dht11.dtbo \
|
||||
i2c0.dtbo \
|
||||
i2c1.dtbo \
|
||||
|
||||
14
arch/arm64/boot/dts/rockchip/overlays/odroidm1/can0.dts
Normal file
14
arch/arm64/boot/dts/rockchip/overlays/odroidm1/can0.dts
Normal file
@@ -0,0 +1,14 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
/ {
|
||||
fragment@0 {
|
||||
//can@fe570000
|
||||
target = <&can0>;
|
||||
|
||||
__overlay__ {
|
||||
status = "okay";
|
||||
assigned-clock-rates = <200000000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -50,6 +50,12 @@
|
||||
};
|
||||
};
|
||||
|
||||
&can0 {
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&can0m0_pins>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&combphy0_us {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user