Skip to content
Snippets Groups Projects
Select Git revision
  • 64cfd648cb79f720908f487403064db79c9e5ace
  • v2018.2.x default
  • experimental
  • master
  • v2021.1.2-ffs
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • v2020.2.2-ffs
  • v2020.2.1-ffs
  • v2020.2-ffs
  • v2020.2.x
  • v2020.1.3-ffs
  • v2020.1.1-ffs
  • v2020.1-ffs
  • v2019.1.2-ffs
  • v2019.1.1-ffs
  • nrb/test-radv-filter
  • v2019.1-ffs
  • nrbffs/netgear-ex6120
  • v2021.1.2-ffs0.2
  • v2021.1.2-ffs0.1
  • v2021.1.1-ffs0.4
  • v2021.1.1-ffs0.3
  • v2021.1.1-ffs0.2
  • v2021.1.1-ffs0.1
  • v2021.1-ffs0.1
  • v2020.2.3-ffs0.3
  • v2020.2.3-ffs0.2
  • v2020.2.3-ffs0.1
  • v2020.2.2-ffs0.1
  • v2020.2.1-ffs0.1
  • v2020.2-ffs0.1
  • v2020.2
  • v2020.2.x-ffs0.1
  • v2020.1.3-ffs0.1
  • v2020.1.1-ffs0.1
  • v2020.1-ffs0.1
  • v2019.1.2-ffs0.1
  • v2019.1.1-ffs0.1
42 results

0043-ramips-use-GPIO_ACTIVE-macros-in-UBNT-ERX.dts.patch

Blame
  • Forked from firmware / FFS Gluon
    Source project has a limited visibility.
    0043-ramips-use-GPIO_ACTIVE-macros-in-UBNT-ERX.dts.patch 902 B
    From: Sven Roederer <devel-sven@geroedel.de>
    Date: Fri, 5 May 2017 22:18:44 +0200
    Subject: ramips: use GPIO_ACTIVE macros in UBNT-ERX.dts
    
    - reorder includes
    - use GPIO_ACTIVE_LOW macro instead of hardcoded "1"
    
    Signed-off-by: Sven Roederer <devel-sven@geroedel.de>
    
    diff --git a/target/linux/ramips/dts/UBNT-ERX.dts b/target/linux/ramips/dts/UBNT-ERX.dts
    index 0b2da95b30f0e181e1929502b8ef1aa50a684f69..cf86bbb7e67b1c521c279367ee9e99fee88fae85 100644
    --- a/target/linux/ramips/dts/UBNT-ERX.dts
    +++ b/target/linux/ramips/dts/UBNT-ERX.dts
    @@ -1,9 +1,10 @@
    -#include <dt-bindings/input/input.h>
    -
     /dts-v1/;
     
     #include "mt7621.dtsi"
     
    +#include <dt-bindings/gpio/gpio.h>
    +#include <dt-bindings/input/input.h>
    +
     / {
     	model = "UBNT-ERX";
     
    @@ -24,7 +25,7 @@
     
     		reset {
     			label = "reset";
    -			gpios = <&gpio0 12 1>;
    +			gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
     			linux,code = <KEY_RESTART>;
     		};
     	};