From dd681644fce2574f48307149709c49c869c306de Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Thu, 18 Aug 2016 10:08:59 +0900 Subject: [PATCH] arm64: dts: exynos5433: move tm2/tm2e specific wlan nodes to board dts The wlan and related pinctrl dt nodes are only proper for tm2/tm2e boards, so it should not be in exynos5433. So this patch moves the bodes to speicifc board dts files. Change-Id: Idd0a5bdb34aa4f61ac41c492c9bde2797d26e3af Signed-off-by: Seung-Woo Kim --- arch/arm64/boot/dts/exynos/exynos5433-pinctrl.dtsi | 7 ------- arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 15 +++++++++++++++ arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts | 15 +++++++++++++++ arch/arm64/boot/dts/exynos/exynos5433.dtsi | 8 -------- 4 files changed, 30 insertions(+), 15 deletions(-) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-pinctrl.dtsi b/arch/arm64/boot/dts/exynos/exynos5433-pinctrl.dtsi index 4bd385f..e1c5f8c 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-pinctrl.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433-pinctrl.dtsi @@ -216,13 +216,6 @@ interrupt-controller; #interrupt-cells = <2>; }; - - cfg_wlanen: cfg-wlanen { - samsung,pins = "gpj2-0"; - samsung,pin-function = <1>; - samsung,pin-drv = <3>; - samsung,pin-con-pdn = <3>; - }; }; &pinctrl_finger { diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts index db86311..32e9c10 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2.dts @@ -286,6 +286,14 @@ thermal-sensors = <&thermistor_battery>; }; }; + + wlan { + compatible = "samsung,brcm-wlan"; + gpios = <&gpj2 0 0x1 &gpf3 1 0x1>; + pinctrl-names = "default"; + pinctrl-0 = <&cfg_wlanen &wlan_host_wake>; + status = "okay"; + }; }; &cpu0 { @@ -1389,6 +1397,13 @@ sleep2: sleep-state { PIN_SLP(gpj2-0, PREV, DOWN); /* WLAN_EN */ }; + + cfg_wlanen: cfg-wlanen { + samsung,pins = "gpj2-0"; + samsung,pin-function = <1>; + samsung,pin-drv = <3>; + samsung,pin-con-pdn = <3>; + }; }; &pinctrl_fsys { diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts index 1c97aad..901d50b 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts @@ -286,6 +286,14 @@ thermal-sensors = <&thermistor_battery>; }; }; + + wlan { + compatible = "samsung,brcm-wlan"; + gpios = <&gpj2 0 0x1 &gpf3 1 0x1>; + pinctrl-names = "default"; + pinctrl-0 = <&cfg_wlanen &wlan_host_wake>; + status = "okay"; + }; }; &cpu0 { @@ -1375,6 +1383,13 @@ sleep2: sleep-state { PIN_SLP(gpj2-0, PREV, DOWN); /* WLAN_EN */ }; + + cfg_wlanen: cfg-wlanen { + samsung,pins = "gpj2-0"; + samsung,pin-function = <1>; + samsung,pin-drv = <3>; + samsung,pin-con-pdn = <3>; + }; }; &pinctrl_fsys { diff --git a/arch/arm64/boot/dts/exynos/exynos5433.dtsi b/arch/arm64/boot/dts/exynos/exynos5433.dtsi index f710eaf..e59f7d9 100644 --- a/arch/arm64/boot/dts/exynos/exynos5433.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos5433.dtsi @@ -2639,14 +2639,6 @@ 0x81000000 0 0 0x0c001000 0 0x00010000 /* downstream I/O */ 0x82000000 0 0x0c011000 0x0c011000 0 0x3feefff>; /* non-prefetchable memory */ }; - - wlan { - compatible = "samsung,brcm-wlan"; - gpios = <&gpj2 0 0x1 &gpf3 1 0x1>; - pinctrl-names = "default"; - pinctrl-0 = <&cfg_wlanen &wlan_host_wake>; - status = "okay"; - }; }; timer { -- 2.7.4