* [PATCH 0/2] ARM: dts: updates for omap3-overo
@ 2013-05-23 8:09 Florian Vaussard
2013-05-23 8:09 ` [PATCH 1/2] ARM: dts: Add omap3-overo NAND flash memory binding Florian Vaussard
2013-05-23 8:09 ` [PATCH 2/2] ARM: dts: omap3-overo: add default trigger for TWL4030 LED Florian Vaussard
0 siblings, 2 replies; 3+ messages in thread
From: Florian Vaussard @ 2013-05-23 8:09 UTC (permalink / raw)
To: Benoit Cousson
Cc: Tony Lindgren, linux-omap, devicetree-discuss, Florian Vaussard
Hello,
This series adds support to omap3-overo for the onboard NAND memory, and
restore the default trigger for the pwm-led provided by TWL4030.
Best regards,
Florian
Florian Vaussard (2):
ARM: dts: Add omap3-overo NAND flash memory binding
ARM: dts: omap3-overo: add default trigger for TWL4030 LED
arch/arm/boot/dts/omap3-overo.dtsi | 51 ++++++++++++++++++++++++++++++++++++
1 files changed, 51 insertions(+), 0 deletions(-)
--
1.7.5.4
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/2] ARM: dts: Add omap3-overo NAND flash memory binding
2013-05-23 8:09 [PATCH 0/2] ARM: dts: updates for omap3-overo Florian Vaussard
@ 2013-05-23 8:09 ` Florian Vaussard
2013-05-23 8:09 ` [PATCH 2/2] ARM: dts: omap3-overo: add default trigger for TWL4030 LED Florian Vaussard
1 sibling, 0 replies; 3+ messages in thread
From: Florian Vaussard @ 2013-05-23 8:09 UTC (permalink / raw)
To: Benoit Cousson
Cc: Tony Lindgren, linux-omap, devicetree-discuss, Florian Vaussard
Add device-tree node for the on-board NAND memory.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
arch/arm/boot/dts/omap3-overo.dtsi | 50 ++++++++++++++++++++++++++++++++++++
1 files changed, 50 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/omap3-overo.dtsi b/arch/arm/boot/dts/omap3-overo.dtsi
index a626c50..be81303 100644
--- a/arch/arm/boot/dts/omap3-overo.dtsi
+++ b/arch/arm/boot/dts/omap3-overo.dtsi
@@ -33,6 +33,56 @@
};
};
+&gpmc {
+ ranges = <0 0 0x30000000 0x00000004>; /* CS0: NAND */
+
+ nand@0,0 {
+ reg = <0 0 0>; /* CS0, offset 0 */
+ nand-bus-width = <16>;
+
+ ti,nand-ecc-opt = "sw";
+
+ gpmc,device-nand;
+ gpmc,sync-clk-ps = <0>;
+ gpmc,cs-on-ns = <0>;
+ gpmc,cs-rd-off-ns = <36>;
+ gpmc,cs-wr-off-ns = <36>;
+ gpmc,adv-on-ns = <6>;
+ gpmc,adv-rd-off-ns = <24>;
+ gpmc,adv-wr-off-ns = <36>;
+ gpmc,we-off-ns = <30>;
+ gpmc,oe-off-ns = <48>;
+ gpmc,access-ns = <54>;
+ gpmc,rd-cycle-ns = <72>;
+ gpmc,wr-cycle-ns = <72>;
+ gpmc,wr-access-ns = <30>;
+ gpmc,wr-data-mux-bus-ns = <0>;
+
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ xloader@0 {
+ reg = <0x00000000 0x00080000>; /* 4 * SZ_128K */
+ };
+
+ uboot@80000 {
+ reg = <0x00080000 0x001c0000>; /* 14 * SZ_128K */
+ };
+
+ ubootenv@240000 {
+ reg = <0x00240000 0x00040000>; /* 2 * SZ_128K */
+ };
+
+ linux@280000 {
+ reg = <0x00280000 0x00400000>; /* 32 * SZ_128K */
+ };
+
+ rootfs@680000 {
+ reg = <0x00680000 0x00000000>; /* MTDPART_SIZ_FULL */
+ };
+ };
+};
+
&i2c1 {
clock-frequency = <2600000>;
--
1.7.5.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] ARM: dts: omap3-overo: add default trigger for TWL4030 LED
2013-05-23 8:09 [PATCH 0/2] ARM: dts: updates for omap3-overo Florian Vaussard
2013-05-23 8:09 ` [PATCH 1/2] ARM: dts: Add omap3-overo NAND flash memory binding Florian Vaussard
@ 2013-05-23 8:09 ` Florian Vaussard
1 sibling, 0 replies; 3+ messages in thread
From: Florian Vaussard @ 2013-05-23 8:09 UTC (permalink / raw)
To: Benoit Cousson
Cc: Tony Lindgren, linux-omap, devicetree-discuss, Florian Vaussard
Commit c971ff1 'leds: leds-pwm: Defer led_pwm_set() if PWM can sleep'
fixed a crash when using a trigger with a pwm-led provided by an
external chip. Now it is safe to add the default trigger according
to board-overo.c.
Signed-off-by: Florian Vaussard <florian.vaussard@epfl.ch>
---
arch/arm/boot/dts/omap3-overo.dtsi | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/arch/arm/boot/dts/omap3-overo.dtsi b/arch/arm/boot/dts/omap3-overo.dtsi
index be81303..8624fb8 100644
--- a/arch/arm/boot/dts/omap3-overo.dtsi
+++ b/arch/arm/boot/dts/omap3-overo.dtsi
@@ -21,6 +21,7 @@
label = "overo:blue:COM";
pwms = <&twl_pwmled 1 7812500>;
max-brightness = <127>;
+ linux,default-trigger = "mmc0";
};
};
--
1.7.5.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-05-23 8:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-23 8:09 [PATCH 0/2] ARM: dts: updates for omap3-overo Florian Vaussard
2013-05-23 8:09 ` [PATCH 1/2] ARM: dts: Add omap3-overo NAND flash memory binding Florian Vaussard
2013-05-23 8:09 ` [PATCH 2/2] ARM: dts: omap3-overo: add default trigger for TWL4030 LED Florian Vaussard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).