From 36b37f976db8a6ef3c80a93bd4e972669fefaf98 Mon Sep 17 00:00:00 2001 From: Khouloud Touil Date: Mon, 2 Jul 2018 13:52:09 +0000 Subject: 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 --- .../linux/files/fix_dcan_addresses.patch | 22 ++++++++++++++++++++++ .../linux/linux-ti-staging_%.bbappend | 3 ++- 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 meta-agl-bsp/meta-ti/recipes-kernel/linux/files/fix_dcan_addresses.patch (limited to 'meta-agl-bsp') 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 \ + " -- cgit 1.2.3-korg