0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
0004 */
0005 /dts-v1/;
0006
0007 #include "omap34xx.dtsi"
0008
0009 / {
0010 model = "TI OMAP3430 SDP";
0011 compatible = "ti,omap3430-sdp", "ti,omap3430", "ti,omap3";
0012
0013 memory@80000000 {
0014 device_type = "memory";
0015 reg = <0x80000000 0x10000000>; /* 256 MB */
0016 };
0017 };
0018
0019 &i2c1 {
0020 clock-frequency = <2600000>;
0021
0022 twl: twl@48 {
0023 reg = <0x48>;
0024 interrupts = <7>; /* SYS_NIRQ cascaded to intc */
0025 };
0026 };
0027
0028 #include "twl4030.dtsi"
0029 #include "twl4030_omap3.dtsi"
0030
0031 &mmc1 {
0032 vmmc-supply = <&vmmc1>;
0033 vqmmc-supply = <&vsim>;
0034 /*
0035 * S6-3 must be in ON position for 8 bit mode to function
0036 * Else, use 4 bit mode
0037 */
0038 bus-width = <8>;
0039 };
0040
0041 &mmc2 {
0042 status = "disabled";
0043 };
0044
0045 &mmc3 {
0046 status = "disabled";
0047 };
0048
0049 &gpmc {
0050 ranges = <0 0 0x10000000 0x08000000>,
0051 <1 0 0x28000000 0x1000000>, /* CS1: 16MB for NAND */
0052 <2 0 0x20000000 0x1000000>; /* CS2: 16MB for OneNAND */
0053
0054 nor@0,0 {
0055 compatible = "cfi-flash";
0056 linux,mtd-name = "intel,pf48f6000m0y1be";
0057 #address-cells = <1>;
0058 #size-cells = <1>;
0059 reg = <0 0 0x08000000>;
0060 bank-width = <2>;
0061
0062 gpmc,mux-add-data = <2>;
0063 gpmc,cs-on-ns = <0>;
0064 gpmc,cs-rd-off-ns = <186>;
0065 gpmc,cs-wr-off-ns = <186>;
0066 gpmc,adv-on-ns = <12>;
0067 gpmc,adv-rd-off-ns = <48>;
0068 gpmc,adv-wr-off-ns = <48>;
0069 gpmc,oe-on-ns = <54>;
0070 gpmc,oe-off-ns = <168>;
0071 gpmc,we-on-ns = <54>;
0072 gpmc,we-off-ns = <168>;
0073 gpmc,rd-cycle-ns = <186>;
0074 gpmc,wr-cycle-ns = <186>;
0075 gpmc,access-ns = <114>;
0076 gpmc,page-burst-access-ns = <6>;
0077 gpmc,bus-turnaround-ns = <12>;
0078 gpmc,cycle2cycle-delay-ns = <18>;
0079 gpmc,wr-data-mux-bus-ns = <90>;
0080 gpmc,wr-access-ns = <186>;
0081 gpmc,cycle2cycle-samecsen;
0082 gpmc,cycle2cycle-diffcsen;
0083
0084 partition@0 {
0085 label = "bootloader-nor";
0086 reg = <0 0x40000>;
0087 };
0088 partition@40000 {
0089 label = "params-nor";
0090 reg = <0x40000 0x40000>;
0091 };
0092 partition@80000 {
0093 label = "kernel-nor";
0094 reg = <0x80000 0x200000>;
0095 };
0096 partition@280000 {
0097 label = "filesystem-nor";
0098 reg = <0x240000 0x7d80000>;
0099 };
0100 };
0101
0102 nand@1,0 {
0103 compatible = "ti,omap2-nand";
0104 reg = <1 0 4>; /* CS1, offset 0, IO size 4 */
0105 interrupt-parent = <&gpmc>;
0106 interrupts = <0 IRQ_TYPE_NONE>, /* fifoevent */
0107 <1 IRQ_TYPE_NONE>; /* termcount */
0108 linux,mtd-name = "micron,mt29f1g08abb";
0109 #address-cells = <1>;
0110 #size-cells = <1>;
0111 ti,nand-ecc-opt = "sw";
0112 nand-bus-width = <8>;
0113 gpmc,cs-on-ns = <0>;
0114 gpmc,cs-rd-off-ns = <36>;
0115 gpmc,cs-wr-off-ns = <36>;
0116 gpmc,adv-on-ns = <6>;
0117 gpmc,adv-rd-off-ns = <24>;
0118 gpmc,adv-wr-off-ns = <36>;
0119 gpmc,oe-on-ns = <6>;
0120 gpmc,oe-off-ns = <48>;
0121 gpmc,we-on-ns = <6>;
0122 gpmc,we-off-ns = <30>;
0123 gpmc,rd-cycle-ns = <72>;
0124 gpmc,wr-cycle-ns = <72>;
0125 gpmc,access-ns = <54>;
0126 gpmc,wr-access-ns = <30>;
0127
0128 partition@0 {
0129 label = "xloader-nand";
0130 reg = <0 0x80000>;
0131 };
0132 partition@80000 {
0133 label = "bootloader-nand";
0134 reg = <0x80000 0x140000>;
0135 };
0136 partition@1c0000 {
0137 label = "params-nand";
0138 reg = <0x1c0000 0xc0000>;
0139 };
0140 partition@280000 {
0141 label = "kernel-nand";
0142 reg = <0x280000 0x500000>;
0143 };
0144 partition@780000 {
0145 label = "filesystem-nand";
0146 reg = <0x780000 0x7880000>;
0147 };
0148 };
0149
0150 onenand@2,0 {
0151 linux,mtd-name = "samsung,kfm2g16q2m-deb8";
0152 #address-cells = <1>;
0153 #size-cells = <1>;
0154 compatible = "ti,omap2-onenand";
0155 reg = <2 0 0x20000>; /* CS2, offset 0, IO size 4 */
0156
0157 gpmc,device-width = <2>;
0158 gpmc,mux-add-data = <2>;
0159 gpmc,cs-on-ns = <0>;
0160 gpmc,cs-rd-off-ns = <84>;
0161 gpmc,cs-wr-off-ns = <72>;
0162 gpmc,adv-on-ns = <0>;
0163 gpmc,adv-rd-off-ns = <18>;
0164 gpmc,adv-wr-off-ns = <18>;
0165 gpmc,oe-on-ns = <30>;
0166 gpmc,oe-off-ns = <84>;
0167 gpmc,we-on-ns = <0>;
0168 gpmc,we-off-ns = <42>;
0169 gpmc,rd-cycle-ns = <108>;
0170 gpmc,wr-cycle-ns = <96>;
0171 gpmc,access-ns = <78>;
0172 gpmc,wr-data-mux-bus-ns = <30>;
0173
0174 partition@0 {
0175 label = "xloader-onenand";
0176 reg = <0 0x80000>;
0177 };
0178 partition@80000 {
0179 label = "bootloader-onenand";
0180 reg = <0x80000 0x40000>;
0181 };
0182 partition@c0000 {
0183 label = "params-onenand";
0184 reg = <0xc0000 0x20000>;
0185 };
0186 partition@e0000 {
0187 label = "kernel-onenand";
0188 reg = <0xe0000 0x200000>;
0189 };
0190 partition@2e0000 {
0191 label = "filesystem-onenand";
0192 reg = <0x2e0000 0xfd20000>;
0193 };
0194 };
0195 };