ramips: correct WizFi630S pin mappings
WizFi630S had some pins changed in the release version of the board. The run led, wps button and a slide switch where affected. This patch is correcting this. i2c is removed as it is sharing a pin with the run (system) led. uart2 is enabled as it is also enabled in the OEM firmware. Signed-off-by: Tobias Welz <tw@wiznet.eu>
This commit is contained in:
parent
6c29604438
commit
d0b229f553
@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
led_run: run {
|
led_run: run {
|
||||||
label = "wizfi630s:green:run";
|
label = "wizfi630s:green:run";
|
||||||
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
ledwps {
|
ledwps {
|
||||||
@ -61,47 +61,29 @@
|
|||||||
|
|
||||||
wps {
|
wps {
|
||||||
label = "wps";
|
label = "wps";
|
||||||
gpios = <&gpio 32 GPIO_ACTIVE_HIGH>;
|
gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <KEY_WPS_BUTTON>;
|
linux,code = <KEY_WPS_BUTTON>;
|
||||||
};
|
};
|
||||||
|
|
||||||
scm1 {
|
scm1 {
|
||||||
label = "SCM1";
|
label = "SCM1";
|
||||||
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <BTN_1>;
|
linux,code = <BTN_1>;
|
||||||
|
linux,input-type = <EV_SW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
scm2 {
|
scm2 {
|
||||||
label = "SCM2";
|
label = "SCM2";
|
||||||
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
|
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
|
||||||
linux,code = <BTN_2>;
|
linux,code = <BTN_2>;
|
||||||
|
linux,input-type = <EV_SW>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&state_default {
|
&state_default {
|
||||||
gpio {
|
gpio {
|
||||||
groups = "gpio";
|
groups = "gpio", "i2s", "i2c", "wdt", "refclk", "p1led_an", "p2led_an";
|
||||||
function = "gpio";
|
|
||||||
};
|
|
||||||
|
|
||||||
i2s {
|
|
||||||
groups = "i2s";
|
|
||||||
function = "gpio";
|
|
||||||
};
|
|
||||||
|
|
||||||
wdt {
|
|
||||||
groups = "wdt";
|
|
||||||
function = "gpio";
|
|
||||||
};
|
|
||||||
|
|
||||||
i2c {
|
|
||||||
groups = "i2c";
|
|
||||||
function = "gpio";
|
|
||||||
};
|
|
||||||
|
|
||||||
refclk {
|
|
||||||
groups = "refclk";
|
|
||||||
function = "gpio";
|
function = "gpio";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -150,11 +132,11 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&i2c {
|
&uart1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
&uart1 {
|
&uart2 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user