From 2630aae36fc2628647c349fc680c7b595fd73e4f Mon Sep 17 00:00:00 2001 From: Christian Lamparter Date: Sun, 16 Dec 2018 10:35:30 +0100 Subject: ipq40xx: device-tree overhaul - replace licence texts with SPDX-License-Identifier where applicable. - make node-names more generic to fit with Device-Tree Release v0.2 Section 2.2.2 Generic Names Recommendation. - utilize wifi0/1, blsp1_uart1 labels Signed-off-by: Christian Lamparter --- ...ARM-dts-ipq4019-Add-a-default-chosen-node.patch | 45 ++++++++++++++++++++++ .../patches-4.14/900-dts-ipq4019-ap-dk01.1.patch | 9 +++-- 2 files changed, 50 insertions(+), 4 deletions(-) create mode 100644 target/linux/ipq40xx/patches-4.14/084-ARM-dts-ipq4019-Add-a-default-chosen-node.patch (limited to 'target/linux/ipq40xx/patches-4.14') diff --git a/target/linux/ipq40xx/patches-4.14/084-ARM-dts-ipq4019-Add-a-default-chosen-node.patch b/target/linux/ipq40xx/patches-4.14/084-ARM-dts-ipq4019-Add-a-default-chosen-node.patch new file mode 100644 index 0000000000..513e623ded --- /dev/null +++ b/target/linux/ipq40xx/patches-4.14/084-ARM-dts-ipq4019-Add-a-default-chosen-node.patch @@ -0,0 +1,45 @@ +From c696a020193e7f96ead97b6b19a2bcd929b299d3 Mon Sep 17 00:00:00 2001 +From: Sricharan R +Date: Fri, 25 May 2018 11:41:11 +0530 +Subject: [PATCH] ARM: dts: ipq4019: Add a default chosen node + +Add a 'chosen' node to select the serial console. +This is needed when bootloaders do not pass the +'console=' bootargs. + +Acked-by: Bjorn Andersson +Signed-off-by: Sricharan R +Signed-off-by: Andy Gross +--- + arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi | 8 ++++++++ + arch/arm/boot/dts/qcom-ipq4019.dtsi | 2 +- + 2 files changed, 9 insertions(+), 1 deletion(-) + +--- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi ++++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi +@@ -20,6 +20,14 @@ + model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK01.1"; + compatible = "qcom,ipq4019"; + ++ aliases { ++ serial0 = &blsp1_uart1; ++ }; ++ ++ chosen { ++ stdout-path = "serial0:115200n8"; ++ }; ++ + soc { + rng@22000 { + status = "ok"; +--- a/arch/arm/boot/dts/qcom-ipq4019.dtsi ++++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi +@@ -346,7 +346,7 @@ + regulator; + }; + +- serial@78af000 { ++ blsp1_uart1: serial@78af000 { + compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; + reg = <0x78af000 0x200>; + interrupts = ; diff --git a/target/linux/ipq40xx/patches-4.14/900-dts-ipq4019-ap-dk01.1.patch b/target/linux/ipq40xx/patches-4.14/900-dts-ipq4019-ap-dk01.1.patch index 25652bb2c9..349f67c665 100644 --- a/target/linux/ipq40xx/patches-4.14/900-dts-ipq4019-ap-dk01.1.patch +++ b/target/linux/ipq40xx/patches-4.14/900-dts-ipq4019-ap-dk01.1.patch @@ -1,6 +1,6 @@ --- a/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.dtsi -@@ -15,12 +15,39 @@ +@@ -15,6 +15,7 @@ */ #include "qcom-ipq4019.dtsi" @@ -8,7 +8,8 @@ / { model = "Qualcomm Technologies, Inc. IPQ4019/AP-DK01.1"; - compatible = "qcom,ipq4019"; +@@ -29,6 +30,32 @@ + }; soc { + tcsr@194b000 { @@ -40,7 +41,7 @@ rng@22000 { status = "ok"; }; -@@ -66,14 +93,6 @@ +@@ -74,14 +101,6 @@ pinctrl-names = "default"; status = "ok"; cs-gpios = <&tlmm 54 0>; @@ -55,7 +56,7 @@ }; serial@78af000 { -@@ -102,6 +121,22 @@ +@@ -110,6 +129,22 @@ status = "ok"; }; -- cgit v1.2.3