Commit 357467ba authored by Michael Welling's avatar Michael Welling
Browse files

SoM-212ES updates for new boardspec driver.


Signed-off-by: default avatarMichael Welling <mwelling@emacinc.com>
parent 3214c4c4
......@@ -256,24 +256,39 @@
};
som: boardspec@0 {
compatible = "boardspec-som212";
compatible = "boardspec";
pinctrl-0 = <&pinctrl_som>;
pinctrl-names = "default";
#address-cells = <1>;
#size-cells = <0>;
sdsw-gpio = <&pioD 10 0>;
sdsw-gpio-dir = <0x1>;
sdsw-gpio-val = <0x1>;
physw-gpio = <&pioA 6 0>;
led-gpio = <&pioA 7 0>;
green-led-gpio = <&pioD 11 0>;
physw-gpio-dir = <0x1>;
physw-gpio-val = <0x1>;
misc-gpio = <&pioD 12 0
&pioB 15 0
&pioB 16 0
&pioB 31 0>;
misc-gpio-dir = <0x0>;
rs232-4xx-gpio = <&pioB 23 0
&pioB 24 0
&pioB 25 0>;
rs232-4xx-gpio-dir = <0x7>;
rs232-4xx-gpio-val = <0x6>;
beeper-gpio = <&pioB 17>;
beeper-gpio-dir = <0x1>;
beeper-gpio-val = <0x0>;
otgpwren-gpio = <&pioB 14>;
otgpwren-gpio-dir = <0x1>;
otgpwren-gpio-val = <0x0>;
status = "okay";
};
};
......@@ -312,4 +327,19 @@
&pioA 8 0 /* WD_PULSE */
>;
};
gpio-leds {
compatible = "gpio-leds";
led1-stat {
label = "led1";
gpios = <&pioA 7 1>;
default-state = "on";
};
led2-stat {
label = "led2";
gpios = <&pioD 11 1>;
default-state = "on";
};
};
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment