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