[linux-oxnas] [RFC PATCH 2/3] ARM: dts: OX810: Update with dt-bindings includes |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/linux-oxnas Archives
]
- To: linux-kernel@xxxxxxxxxxxxxxx, linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-oxnas@xxxxxxxxxxxxxxxxxxx, devicetree@xxxxxxxxxxxxxxx
- Subject: [linux-oxnas] [RFC PATCH 2/3] ARM: dts: OX810: Update with dt-bindings includes
- From: Neil Armstrong <narmstrong@xxxxxxxxxxxx>
- Date: Mon, 17 Oct 2016 14:40:00 +0200
- Cc: Neil Armstrong <narmstrong@xxxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=fMpt4F4s+HgX6T/oUB/S7Y+kXwNb7NcF9PSGLaAFNJs=; b=HXYOudQsna9+ubEhElz1Xj1zvPiZA2nAICYwsi2aEhnet5Z9/oRDACoW192D/jKsli ygog8zHyPH0bDr25ZYY/Sqb8X5MKnDLEzKiD9L001cQnUzlopjH+J4z0oCz3Aduj6/qd WofLobyHSv6PJBp2iP6a/vO5rtPSzmRLPC0WXPEjqcbdryVsiFkbiSu3Clhm0c0S/X7p nv/9Hlpd2bDsxc/ZKm3+xZxezUWbXhGnDQLKEhBuM0IHk5iEGmaOAONm//zktyJpXdeV VpjjedlH7etsIP2EdAIfmQGHuUL8IZFCzEjB0S8ehBILnbChE8WJOQmmK1CTzSxtuS5t f8vA==
Add OX810SE dt-bindings includes files for clocks and resets, replace
resets numbers by human readable defines.
Signed-off-by: Neil Armstrong <narmstrong@xxxxxxxxxxxx>
---
arch/arm/boot/dts/ox810se.dtsi | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/ox810se.dtsi b/arch/arm/boot/dts/ox810se.dtsi
index ce13705..46aa6db 100644
--- a/arch/arm/boot/dts/ox810se.dtsi
+++ b/arch/arm/boot/dts/ox810se.dtsi
@@ -7,6 +7,8 @@
*/
/include/ "skeleton.dtsi"
+#include <dt-bindings/clock/oxsemi,ox810se.h>
+#include <dt-bindings/reset/oxsemi,ox810se.h>
/ {
compatible = "oxsemi,ox810se";
@@ -242,7 +244,7 @@
current-speed = <115200>;
no-loopback-test;
status = "disabled";
- resets = <&reset 17>;
+ resets = <&reset RESET_UART1>;
};
uart1: serial@300000 {
@@ -256,7 +258,7 @@
current-speed = <115200>;
no-loopback-test;
status = "disabled";
- resets = <&reset 18>;
+ resets = <&reset RESET_UART2>;
};
uart2: serial@900000 {
@@ -270,7 +272,7 @@
current-speed = <115200>;
no-loopback-test;
status = "disabled";
- resets = <&reset 22>;
+ resets = <&reset RESET_UART3>;
};
uart3: serial@a00000 {
@@ -284,7 +286,7 @@
current-speed = <115200>;
no-loopback-test;
status = "disabled";
- resets = <&reset 23>;
+ resets = <&reset RESET_UART4>;
};
};
--
2.7.0