Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1492814 > unrolled thread
| Started by | "H. Nikolaus Schaller" <hns@goldelico.com> |
|---|---|
| First post | 2016-09-28 20:10 +0200 |
| Last post | 2016-09-28 20:10 +0200 |
| Articles | 3 — 1 participant |
Back to article view | Back to linux.kernel
[PATCH v2 0/3] ARM: dts: omap5 uevm: add LEDs, USR1 button and EEPROM "H. Nikolaus Schaller" <hns@goldelico.com> - 2016-09-28 20:10 +0200
[PATCH v2 1/3] ARM: dts: omap5 uevm: add EEPROM "H. Nikolaus Schaller" <hns@goldelico.com> - 2016-09-28 20:10 +0200
[PATCH v2 3/3] ARM: dts: omap5 uevm: add USR1 button "H. Nikolaus Schaller" <hns@goldelico.com> - 2016-09-28 20:10 +0200
| From | "H. Nikolaus Schaller" <hns@goldelico.com> |
|---|---|
| Date | 2016-09-28 20:10 +0200 |
| Subject | [PATCH v2 0/3] ARM: dts: omap5 uevm: add LEDs, USR1 button and EEPROM |
| Message-ID | <smrsR-1Ie-15@gated-at.bofh.it> |
Changes V2: * fixed subject of patches to correctly tell that it is for omap5 evm * changed default triggers a little to create a nicer default pattern 2016-09-27 07:26:14: These patches configure * the EEPROM * the LEDs (with some default triggers) * the USR1 gpio button for the OMAP5 UEVM board. H. Nikolaus Schaller (3): ARM: dts: omap5 uevm: add EEPROM ARM: dts: omap5 uevm: add LEDs ARM: dts: omap5 uevm: add USR1 button arch/arm/boot/dts/omap5-uevm.dts | 92 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) -- 2.7.3
[toc] | [next] | [standalone]
| From | "H. Nikolaus Schaller" <hns@goldelico.com> |
|---|---|
| Date | 2016-09-28 20:10 +0200 |
| Subject | [PATCH v2 1/3] ARM: dts: omap5 uevm: add EEPROM |
| Message-ID | <smrsR-1Ie-29@gated-at.bofh.it> |
| In reply to | #1492814 |
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
arch/arm/boot/dts/omap5-uevm.dts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts
index 36ff7c3..be659e8 100644
--- a/arch/arm/boot/dts/omap5-uevm.dts
+++ b/arch/arm/boot/dts/omap5-uevm.dts
@@ -23,6 +23,13 @@
vdda-supply = <&ldo4_reg>;
};
+&i2c1 {
+ eeprom@50 {
+ compatible = "atmel,24c02";
+ reg = <0x50>;
+ };
+};
+
&i2c5 {
pinctrl-names = "default";
pinctrl-0 = <&i2c5_pins>;
--
2.7.3
[toc] | [prev] | [next] | [standalone]
| From | "H. Nikolaus Schaller" <hns@goldelico.com> |
|---|---|
| Date | 2016-09-28 20:10 +0200 |
| Subject | [PATCH v2 3/3] ARM: dts: omap5 uevm: add USR1 button |
| Message-ID | <smrsR-1Ie-27@gated-at.bofh.it> |
| In reply to | #1492814 |
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
---
arch/arm/boot/dts/omap5-uevm.dts | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts
index 149f75d..d4f22d8 100644
--- a/arch/arm/boot/dts/omap5-uevm.dts
+++ b/arch/arm/boot/dts/omap5-uevm.dts
@@ -18,6 +18,25 @@
reg = <0x80000000 0x7F000000>; /* 2032 MB */
};
+ evm_keys {
+ compatible = "gpio-keys";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&evm_keys_pins>;
+
+ #address-cells = <7>;
+ #size-cells = <0>;
+
+ btn1 {
+ label = "BTN1";
+ linux,code = <169>;
+ gpios = <&gpio3 19 GPIO_ACTIVE_LOW>; /* gpio3_83 */
+ gpio-key,wakeup;
+ autorepeat;
+ debounce_interval = <50>;
+ };
+ };
+
evm_leds {
compatible = "gpio-leds";
@@ -105,6 +124,12 @@
};
&omap5_pmx_core {
+ evm_keys_pins: pinmux_evm_keys_gpio_pins {
+ pinctrl-single,pins = <
+ OMAP5_IOPAD(0x0b6, PIN_INPUT | MUX_MODE6) /* gpio3_83 */
+ >;
+ };
+
i2c5_pins: pinmux_i2c5_pins {
pinctrl-single,pins = <
OMAP5_IOPAD(0x1c6, PIN_INPUT | MUX_MODE0) /* i2c5_scl */
--
2.7.3
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web