aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp
diff options
context:
space:
mode:
authorKhouloud Touil <ktouil@baylibre.com>2018-07-02 13:52:09 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-07-04 16:05:40 +0000
commit36b37f976db8a6ef3c80a93bd4e972669fefaf98 (patch)
tree07b8b612ab57623a946c8123dc36117d21e736af /meta-agl-bsp
parente8bed1f30b465502ee765fd69d5a75127d76a654 (diff)
Fixing DCAN nodes addresses
Fix the DT node addresses to match the reg property addresses, which were verified to match the TRM Change-Id: I1ec1d52b48aa2af7d74779bf0eb6f30bc7a4a6cc Signed-off-by: Khouloud Touil <ktouil@baylibre.com>
Diffstat (limited to 'meta-agl-bsp')
-rw-r--r--meta-agl-bsp/meta-ti/recipes-kernel/linux/files/fix_dcan_addresses.patch22
-rw-r--r--meta-agl-bsp/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend3
2 files changed, 24 insertions, 1 deletions
diff --git a/meta-agl-bsp/meta-ti/recipes-kernel/linux/files/fix_dcan_addresses.patch b/meta-agl-bsp/meta-ti/recipes-kernel/linux/files/fix_dcan_addresses.patch
new file mode 100644
index 000000000..e4b116f5b
--- /dev/null
+++ b/meta-agl-bsp/meta-ti/recipes-kernel/linux/files/fix_dcan_addresses.patch
@@ -0,0 +1,22 @@
+diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
+index 9be07c5..9ecc1f5 100644
+--- a/arch/arm/boot/dts/dra7.dtsi
++++ b/arch/arm/boot/dts/dra7.dtsi
+@@ -2032,7 +2032,7 @@
+ };
+ };
+
+- dcan1: can@481cc000 {
++ dcan1: can@4ae3c000 {
+ compatible = "ti,dra7-d_can";
+ ti,hwmods = "dcan1";
+ reg = <0x4ae3c000 0x2000>;
+@@ -2042,7 +2042,7 @@
+ status = "disabled";
+ };
+
+- dcan2: can@481d0000 {
++ dcan2: can@48480000 {
+ compatible = "ti,dra7-d_can";
+ ti,hwmods = "dcan2";
+ reg = <0x48480000 0x2000>;
diff --git a/meta-agl-bsp/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend b/meta-agl-bsp/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend
index a280223ed..356f24fa3 100644
--- a/meta-agl-bsp/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend
+++ b/meta-agl-bsp/meta-ti/recipes-kernel/linux/linux-ti-staging_%.bbappend
@@ -8,5 +8,6 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += " \
file://dcan2_pinmux_enable.patch \
- "
+ file://fix_dcan_addresses.patch \
+ "