1 // SPDX-License-Identifier: GPL-2.0-only 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 2 /* 3 * Copyright (C) 2013 Texas Instruments Incorp 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 4 */ 4 */ 5 /dts-v1/; 5 /dts-v1/; 6 6 7 #include "omap34xx.dtsi" 7 #include "omap34xx.dtsi" 8 8 9 / { 9 / { 10 model = "TI OMAP3430 SDP"; 10 model = "TI OMAP3430 SDP"; 11 compatible = "ti,omap3430-sdp", "ti,om 11 compatible = "ti,omap3430-sdp", "ti,omap3430", "ti,omap3"; 12 12 13 memory@80000000 { 13 memory@80000000 { 14 device_type = "memory"; 14 device_type = "memory"; 15 reg = <0x80000000 0x10000000>; 15 reg = <0x80000000 0x10000000>; /* 256 MB */ 16 }; 16 }; 17 }; 17 }; 18 18 19 &i2c1 { 19 &i2c1 { 20 clock-frequency = <2600000>; 20 clock-frequency = <2600000>; 21 21 22 twl: twl@48 { 22 twl: twl@48 { 23 reg = <0x48>; 23 reg = <0x48>; 24 interrupts = <7>; /* SYS_NIRQ 24 interrupts = <7>; /* SYS_NIRQ cascaded to intc */ 25 }; 25 }; 26 }; 26 }; 27 27 28 #include "twl4030.dtsi" 28 #include "twl4030.dtsi" 29 #include "twl4030_omap3.dtsi" 29 #include "twl4030_omap3.dtsi" 30 30 31 &mmc1 { 31 &mmc1 { 32 vmmc-supply = <&vmmc1>; 32 vmmc-supply = <&vmmc1>; 33 vqmmc-supply = <&vsim>; 33 vqmmc-supply = <&vsim>; 34 /* 34 /* 35 * S6-3 must be in ON position for 8 b 35 * S6-3 must be in ON position for 8 bit mode to function 36 * Else, use 4 bit mode 36 * Else, use 4 bit mode 37 */ 37 */ 38 bus-width = <8>; 38 bus-width = <8>; 39 }; 39 }; 40 40 41 &mmc2 { 41 &mmc2 { 42 status = "disabled"; 42 status = "disabled"; 43 }; 43 }; 44 44 45 &mmc3 { 45 &mmc3 { 46 status = "disabled"; 46 status = "disabled"; 47 }; 47 }; 48 48 49 &gpmc { 49 &gpmc { 50 ranges = <0 0 0x10000000 0x08000000>, 50 ranges = <0 0 0x10000000 0x08000000>, 51 <1 0 0x28000000 0x1000000>, 51 <1 0 0x28000000 0x1000000>, /* CS1: 16MB for NAND */ 52 <2 0 0x20000000 0x1000000>; 52 <2 0 0x20000000 0x1000000>; /* CS2: 16MB for OneNAND */ 53 53 54 nor@0,0 { 54 nor@0,0 { 55 compatible = "cfi-flash"; 55 compatible = "cfi-flash"; 56 linux,mtd-name = "intel,pf48f6 56 linux,mtd-name = "intel,pf48f6000m0y1be"; 57 #address-cells = <1>; 57 #address-cells = <1>; 58 #size-cells = <1>; 58 #size-cells = <1>; 59 reg = <0 0 0x08000000>; 59 reg = <0 0 0x08000000>; 60 bank-width = <2>; 60 bank-width = <2>; 61 61 62 gpmc,mux-add-data = <2>; 62 gpmc,mux-add-data = <2>; 63 gpmc,cs-on-ns = <0>; 63 gpmc,cs-on-ns = <0>; 64 gpmc,cs-rd-off-ns = <186>; 64 gpmc,cs-rd-off-ns = <186>; 65 gpmc,cs-wr-off-ns = <186>; 65 gpmc,cs-wr-off-ns = <186>; 66 gpmc,adv-on-ns = <12>; 66 gpmc,adv-on-ns = <12>; 67 gpmc,adv-rd-off-ns = <48>; 67 gpmc,adv-rd-off-ns = <48>; 68 gpmc,adv-wr-off-ns = <48>; 68 gpmc,adv-wr-off-ns = <48>; 69 gpmc,oe-on-ns = <54>; 69 gpmc,oe-on-ns = <54>; 70 gpmc,oe-off-ns = <168>; 70 gpmc,oe-off-ns = <168>; 71 gpmc,we-on-ns = <54>; 71 gpmc,we-on-ns = <54>; 72 gpmc,we-off-ns = <168>; 72 gpmc,we-off-ns = <168>; 73 gpmc,rd-cycle-ns = <186>; 73 gpmc,rd-cycle-ns = <186>; 74 gpmc,wr-cycle-ns = <186>; 74 gpmc,wr-cycle-ns = <186>; 75 gpmc,access-ns = <114>; 75 gpmc,access-ns = <114>; 76 gpmc,page-burst-access-ns = <6 76 gpmc,page-burst-access-ns = <6>; 77 gpmc,bus-turnaround-ns = <12>; 77 gpmc,bus-turnaround-ns = <12>; 78 gpmc,cycle2cycle-delay-ns = <1 78 gpmc,cycle2cycle-delay-ns = <18>; 79 gpmc,wr-data-mux-bus-ns = <90> 79 gpmc,wr-data-mux-bus-ns = <90>; 80 gpmc,wr-access-ns = <186>; 80 gpmc,wr-access-ns = <186>; 81 gpmc,cycle2cycle-samecsen; 81 gpmc,cycle2cycle-samecsen; 82 gpmc,cycle2cycle-diffcsen; 82 gpmc,cycle2cycle-diffcsen; 83 83 84 partition@0 { 84 partition@0 { 85 label = "bootloader-no 85 label = "bootloader-nor"; 86 reg = <0 0x40000>; 86 reg = <0 0x40000>; 87 }; 87 }; 88 partition@40000 { 88 partition@40000 { 89 label = "params-nor"; 89 label = "params-nor"; 90 reg = <0x40000 0x40000 90 reg = <0x40000 0x40000>; 91 }; 91 }; 92 partition@80000 { 92 partition@80000 { 93 label = "kernel-nor"; 93 label = "kernel-nor"; 94 reg = <0x80000 0x20000 94 reg = <0x80000 0x200000>; 95 }; 95 }; 96 partition@280000 { 96 partition@280000 { 97 label = "filesystem-no 97 label = "filesystem-nor"; 98 reg = <0x240000 0x7d80 98 reg = <0x240000 0x7d80000>; 99 }; 99 }; 100 }; 100 }; 101 101 102 nand@1,0 { 102 nand@1,0 { 103 compatible = "ti,omap2-nand"; 103 compatible = "ti,omap2-nand"; 104 reg = <1 0 4>; /* CS1, offset 104 reg = <1 0 4>; /* CS1, offset 0, IO size 4 */ 105 interrupt-parent = <&gpmc>; 105 interrupt-parent = <&gpmc>; 106 interrupts = <0 IRQ_TYPE_NONE> 106 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */ 107 <1 IRQ_TYPE_NONE> 107 <1 IRQ_TYPE_NONE>; /* termcount */ 108 linux,mtd-name = "micron,mt29f 108 linux,mtd-name = "micron,mt29f1g08abb"; 109 #address-cells = <1>; 109 #address-cells = <1>; 110 #size-cells = <1>; 110 #size-cells = <1>; 111 ti,nand-ecc-opt = "sw"; 111 ti,nand-ecc-opt = "sw"; 112 nand-bus-width = <8>; 112 nand-bus-width = <8>; 113 gpmc,cs-on-ns = <0>; 113 gpmc,cs-on-ns = <0>; 114 gpmc,cs-rd-off-ns = <36>; 114 gpmc,cs-rd-off-ns = <36>; 115 gpmc,cs-wr-off-ns = <36>; 115 gpmc,cs-wr-off-ns = <36>; 116 gpmc,adv-on-ns = <6>; 116 gpmc,adv-on-ns = <6>; 117 gpmc,adv-rd-off-ns = <24>; 117 gpmc,adv-rd-off-ns = <24>; 118 gpmc,adv-wr-off-ns = <36>; 118 gpmc,adv-wr-off-ns = <36>; 119 gpmc,oe-on-ns = <6>; 119 gpmc,oe-on-ns = <6>; 120 gpmc,oe-off-ns = <48>; 120 gpmc,oe-off-ns = <48>; 121 gpmc,we-on-ns = <6>; 121 gpmc,we-on-ns = <6>; 122 gpmc,we-off-ns = <30>; 122 gpmc,we-off-ns = <30>; 123 gpmc,rd-cycle-ns = <72>; 123 gpmc,rd-cycle-ns = <72>; 124 gpmc,wr-cycle-ns = <72>; 124 gpmc,wr-cycle-ns = <72>; 125 gpmc,access-ns = <54>; 125 gpmc,access-ns = <54>; 126 gpmc,wr-access-ns = <30>; 126 gpmc,wr-access-ns = <30>; 127 127 128 partition@0 { 128 partition@0 { 129 label = "xloader-nand" 129 label = "xloader-nand"; 130 reg = <0 0x80000>; 130 reg = <0 0x80000>; 131 }; 131 }; 132 partition@80000 { 132 partition@80000 { 133 label = "bootloader-na 133 label = "bootloader-nand"; 134 reg = <0x80000 0x14000 134 reg = <0x80000 0x140000>; 135 }; 135 }; 136 partition@1c0000 { 136 partition@1c0000 { 137 label = "params-nand"; 137 label = "params-nand"; 138 reg = <0x1c0000 0xc000 138 reg = <0x1c0000 0xc0000>; 139 }; 139 }; 140 partition@280000 { 140 partition@280000 { 141 label = "kernel-nand"; 141 label = "kernel-nand"; 142 reg = <0x280000 0x5000 142 reg = <0x280000 0x500000>; 143 }; 143 }; 144 partition@780000 { 144 partition@780000 { 145 label = "filesystem-na 145 label = "filesystem-nand"; 146 reg = <0x780000 0x7880 146 reg = <0x780000 0x7880000>; 147 }; 147 }; 148 }; 148 }; 149 149 150 onenand@2,0 { 150 onenand@2,0 { 151 linux,mtd-name = "samsung,kfm2 151 linux,mtd-name = "samsung,kfm2g16q2m-deb8"; 152 #address-cells = <1>; 152 #address-cells = <1>; 153 #size-cells = <1>; 153 #size-cells = <1>; 154 compatible = "ti,omap2-onenand 154 compatible = "ti,omap2-onenand"; 155 reg = <2 0 0x20000>; /* CS2 155 reg = <2 0 0x20000>; /* CS2, offset 0, IO size 4 */ 156 156 157 gpmc,device-width = <2>; 157 gpmc,device-width = <2>; 158 gpmc,mux-add-data = <2>; 158 gpmc,mux-add-data = <2>; 159 gpmc,cs-on-ns = <0>; 159 gpmc,cs-on-ns = <0>; 160 gpmc,cs-rd-off-ns = <84>; 160 gpmc,cs-rd-off-ns = <84>; 161 gpmc,cs-wr-off-ns = <72>; 161 gpmc,cs-wr-off-ns = <72>; 162 gpmc,adv-on-ns = <0>; 162 gpmc,adv-on-ns = <0>; 163 gpmc,adv-rd-off-ns = <18>; 163 gpmc,adv-rd-off-ns = <18>; 164 gpmc,adv-wr-off-ns = <18>; 164 gpmc,adv-wr-off-ns = <18>; 165 gpmc,oe-on-ns = <30>; 165 gpmc,oe-on-ns = <30>; 166 gpmc,oe-off-ns = <84>; 166 gpmc,oe-off-ns = <84>; 167 gpmc,we-on-ns = <0>; 167 gpmc,we-on-ns = <0>; 168 gpmc,we-off-ns = <42>; 168 gpmc,we-off-ns = <42>; 169 gpmc,rd-cycle-ns = <108>; 169 gpmc,rd-cycle-ns = <108>; 170 gpmc,wr-cycle-ns = <96>; 170 gpmc,wr-cycle-ns = <96>; 171 gpmc,access-ns = <78>; 171 gpmc,access-ns = <78>; 172 gpmc,wr-data-mux-bus-ns = <30> 172 gpmc,wr-data-mux-bus-ns = <30>; 173 173 174 partition@0 { 174 partition@0 { 175 label = "xloader-onena 175 label = "xloader-onenand"; 176 reg = <0 0x80000>; 176 reg = <0 0x80000>; 177 }; 177 }; 178 partition@80000 { 178 partition@80000 { 179 label = "bootloader-on 179 label = "bootloader-onenand"; 180 reg = <0x80000 0x40000 180 reg = <0x80000 0x40000>; 181 }; 181 }; 182 partition@c0000 { 182 partition@c0000 { 183 label = "params-onenan 183 label = "params-onenand"; 184 reg = <0xc0000 0x20000 184 reg = <0xc0000 0x20000>; 185 }; 185 }; 186 partition@e0000 { 186 partition@e0000 { 187 label = "kernel-onenan 187 label = "kernel-onenand"; 188 reg = <0xe0000 0x20000 188 reg = <0xe0000 0x200000>; 189 }; 189 }; 190 partition@2e0000 { 190 partition@2e0000 { 191 label = "filesystem-on 191 label = "filesystem-onenand"; 192 reg = <0x2e0000 0xfd20 192 reg = <0x2e0000 0xfd20000>; 193 }; 193 }; 194 }; 194 }; 195 }; 195 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.