From eba84bee4ce518dc509fe51f252c5307dccf3a1c Mon Sep 17 00:00:00 2001 From: Andreas Eberlein Date: Thu, 29 Sep 2016 18:22:55 +0200 Subject: lantiq: Sanitize device tree files The device tree file of ARV752DPW uses numbers/hex values for gpio states and input event codes. This cleans it up and uses the available macros from header files. This way the functions are easier to read and comprehend. Signed-off-by: Andreas Eberlein [sanitize all device tree files] Signed-off-by: Mathias Kresin --- target/linux/lantiq/dts/vr9.dtsi | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'target/linux/lantiq/dts/vr9.dtsi') diff --git a/target/linux/lantiq/dts/vr9.dtsi b/target/linux/lantiq/dts/vr9.dtsi index a1c05d01f1..6754afd201 100644 --- a/target/linux/lantiq/dts/vr9.dtsi +++ b/target/linux/lantiq/dts/vr9.dtsi @@ -1,3 +1,6 @@ +#include +#include + / { #address-cells = <1>; #size-cells = <1>; @@ -200,7 +203,7 @@ interrupt-parent = <&icu0>; interrupts = <161 144>; compatible = "lantiq,pcie-xrx200"; - gpio-reset = <&gpio 38 0>; + gpio-reset = <&gpio 38 GPIO_ACTIVE_HIGH>; }; pci0: pci@E105400 { -- cgit v1.2.3