@@ -42,14 +42,12 @@
&gpmc {
ranges = <0 0 0x04000000 0x1000000>; /* CS0: 16MB for OneNAND */
-
- /* gpio-irq for dma: 26 */
-
onenand@0,0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "ti,omap2-onenand";
reg = <0 0 0x20000>; /* CS0, offset 0, IO size 128K */
+ rb-gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; /* gpio_26 for R/B */
gpmc,sync-read;
gpmc,burst-length = <16>;
@@ -834,12 +834,12 @@
pinctrl-names = "default";
pinctrl-0 = <&gpmc_pins>;
- /* sys_ndmareq1 could be used by the driver, not as gpio65 though */
onenand@0,0 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "ti,omap2-onenand";
reg = <0 0 0x20000>; /* CS0, offset 0, IO size 128K */
+ rb-gpios = <&gpio3 1 GPIO_ACTIVE_HIGH>; /* gpio_65 for R/B */
gpmc,sync-read;
gpmc,sync-write;