Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Tony Lindgren | a900f51 | 2013-11-25 15:15:24 -0800 | [diff] [blame] | 2 | #include "omap2420.dtsi" |
| 3 | |
| 4 | / { |
Javier Martinez Canillas | 101ace8 | 2016-08-31 12:35:26 +0200 | [diff] [blame] | 5 | memory@80000000 { |
Tony Lindgren | a900f51 | 2013-11-25 15:15:24 -0800 | [diff] [blame] | 6 | device_type = "memory"; |
| 7 | reg = <0x80000000 0x8000000>; /* 128 MB */ |
| 8 | }; |
| 9 | |
Tony Lindgren | 1842403 | 2017-09-20 07:43:22 -0700 | [diff] [blame] | 10 | chosen { |
| 11 | stdout-path = &uart3; |
| 12 | }; |
| 13 | |
Tony Lindgren | a900f51 | 2013-11-25 15:15:24 -0800 | [diff] [blame] | 14 | ocp { |
Javier Martinez Canillas | e72c378 | 2016-04-01 16:20:19 -0400 | [diff] [blame] | 15 | i2c0 { |
Tony Lindgren | a900f51 | 2013-11-25 15:15:24 -0800 | [diff] [blame] | 16 | compatible = "i2c-cbus-gpio"; |
Javier Martinez Canillas | 3a637e0 | 2015-10-06 11:03:39 +0200 | [diff] [blame] | 17 | gpios = <&gpio3 2 GPIO_ACTIVE_HIGH /* gpio66 clk */ |
| 18 | &gpio3 1 GPIO_ACTIVE_HIGH /* gpio65 dat */ |
| 19 | &gpio3 0 GPIO_ACTIVE_HIGH /* gpio64 sel */ |
Tony Lindgren | a900f51 | 2013-11-25 15:15:24 -0800 | [diff] [blame] | 20 | >; |
| 21 | #address-cells = <1>; |
| 22 | #size-cells = <0>; |
Javier Martinez Canillas | 408bc03 | 2017-06-15 20:49:22 +0200 | [diff] [blame] | 23 | retu: retu@1 { |
Javier Martinez Canillas | c05581d | 2017-06-15 20:49:24 +0200 | [diff] [blame] | 24 | compatible = "nokia,retu"; |
Tony Lindgren | a900f51 | 2013-11-25 15:15:24 -0800 | [diff] [blame] | 25 | interrupt-parent = <&gpio4>; |
| 26 | interrupts = <12 IRQ_TYPE_EDGE_RISING>; |
| 27 | reg = <0x1>; |
| 28 | }; |
| 29 | }; |
| 30 | }; |
| 31 | }; |
| 32 | |
| 33 | &i2c1 { |
| 34 | clock-frequency = <400000>; |
Felipe Balbi | e92ce89 | 2014-09-16 15:31:40 -0500 | [diff] [blame] | 35 | |
| 36 | pmic@72 { |
| 37 | compatible = "menelaus"; |
| 38 | reg = <0x72>; |
| 39 | interrupts = <7 IRQ_TYPE_EDGE_RISING>; |
| 40 | }; |
Tony Lindgren | a900f51 | 2013-11-25 15:15:24 -0800 | [diff] [blame] | 41 | }; |
| 42 | |
| 43 | &i2c2 { |
| 44 | clock-frequency = <400000>; |
| 45 | }; |
Aaro Koskinen | 218077a | 2013-11-16 20:36:22 +0200 | [diff] [blame] | 46 | |
| 47 | &gpmc { |
Tony Lindgren | e2c5eb7 | 2014-10-29 17:16:47 -0700 | [diff] [blame] | 48 | ranges = <0 0 0x04000000 0x1000000>; /* CS0: 16MB for OneNAND */ |
Aaro Koskinen | 218077a | 2013-11-16 20:36:22 +0200 | [diff] [blame] | 49 | |
| 50 | /* gpio-irq for dma: 26 */ |
| 51 | |
| 52 | onenand@0,0 { |
| 53 | #address-cells = <1>; |
| 54 | #size-cells = <1>; |
Ladislav Michl | 396744b | 2018-01-12 14:12:56 +0100 | [diff] [blame] | 55 | compatible = "ti,omap2-onenand"; |
Tony Lindgren | e2c5eb7 | 2014-10-29 17:16:47 -0700 | [diff] [blame] | 56 | reg = <0 0 0x20000>; /* CS0, offset 0, IO size 128K */ |
Aaro Koskinen | 218077a | 2013-11-16 20:36:22 +0200 | [diff] [blame] | 57 | |
| 58 | gpmc,sync-read; |
| 59 | gpmc,burst-length = <16>; |
| 60 | gpmc,burst-read; |
| 61 | gpmc,burst-wrap; |
| 62 | gpmc,device-width = <2>; |
| 63 | gpmc,mux-add-data = <2>; |
| 64 | gpmc,cs-on-ns = <0>; |
| 65 | gpmc,cs-rd-off-ns = <127>; |
| 66 | gpmc,cs-wr-off-ns = <109>; |
| 67 | gpmc,adv-on-ns = <0>; |
| 68 | gpmc,adv-rd-off-ns = <18>; |
| 69 | gpmc,adv-wr-off-ns = <18>; |
| 70 | gpmc,oe-on-ns = <27>; |
| 71 | gpmc,oe-off-ns = <127>; |
| 72 | gpmc,we-on-ns = <27>; |
| 73 | gpmc,we-off-ns = <72>; |
| 74 | gpmc,rd-cycle-ns = <145>; |
| 75 | gpmc,wr-cycle-ns = <136>; |
| 76 | gpmc,access-ns = <118>; |
| 77 | gpmc,page-burst-access-ns = <27>; |
| 78 | gpmc,bus-turnaround-ns = <0>; |
| 79 | gpmc,cycle2cycle-delay-ns = <0>; |
| 80 | gpmc,wait-monitoring-ns = <0>; |
| 81 | gpmc,clk-activation-ns = <9>; |
| 82 | gpmc,sync-clk-ps = <27000>; |
| 83 | |
| 84 | /* MTD partition table corresponding to old board-n8x0 file. */ |
| 85 | partition@0 { |
| 86 | label = "bootloader"; |
| 87 | reg = <0x00000000 0x00020000>; |
| 88 | read-only; |
| 89 | }; |
| 90 | partition@1 { |
| 91 | label = "config"; |
| 92 | reg = <0x00020000 0x00060000>; |
| 93 | }; |
| 94 | partition@2 { |
| 95 | label = "kernel"; |
| 96 | reg = <0x00080000 0x00200000>; |
| 97 | }; |
| 98 | partition@3 { |
| 99 | label = "initfs"; |
| 100 | reg = <0x00280000 0x00400000>; |
| 101 | }; |
| 102 | partition@4 { |
| 103 | label = "rootfs"; |
| 104 | reg = <0x00680000 0x0f980000>; |
| 105 | }; |
| 106 | partition@5 { |
| 107 | label = "omap2-onenand"; |
| 108 | reg = <0x00000000 0x10000000>; |
| 109 | }; |
| 110 | }; |
| 111 | }; |