Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 #include "omap2420.dtsi"
0003 
0004 / {
0005         memory@80000000 {
0006                 device_type = "memory";
0007                 reg = <0x80000000 0x8000000>; /* 128 MB */
0008         };
0009 
0010         chosen {
0011                 stdout-path = &uart3;
0012         };
0013 
0014         ocp {
0015                 i2c0 {
0016                         compatible = "i2c-cbus-gpio";
0017                         gpios = <&gpio3 2 GPIO_ACTIVE_HIGH /* gpio66 clk */
0018                                  &gpio3 1 GPIO_ACTIVE_HIGH /* gpio65 dat */
0019                                  &gpio3 0 GPIO_ACTIVE_HIGH /* gpio64 sel */
0020                                 >;
0021                         #address-cells = <1>;
0022                         #size-cells = <0>;
0023                         retu: retu@1 {
0024                                 compatible = "nokia,retu";
0025                                 interrupt-parent = <&gpio4>;
0026                                 interrupts = <12 IRQ_TYPE_EDGE_RISING>;
0027                                 reg = <0x1>;
0028                         };
0029                 };
0030         };
0031 };
0032 
0033 &i2c1 {
0034         clock-frequency = <400000>;
0035 
0036         pmic@72 {
0037                 compatible = "menelaus";
0038                 reg = <0x72>;
0039                 interrupts = <7 IRQ_TYPE_EDGE_RISING>;
0040         };
0041 };
0042 
0043 &i2c2 {
0044         clock-frequency = <400000>;
0045 };
0046 
0047 &gpmc {
0048         ranges = <0 0 0x04000000 0x1000000>;    /* CS0: 16MB for OneNAND */
0049 
0050         /* gpio-irq for dma: 26 */
0051 
0052         onenand@0,0 {
0053                 #address-cells = <1>;
0054                 #size-cells = <1>;
0055                 compatible = "ti,omap2-onenand";
0056                 reg = <0 0 0x20000>;    /* CS0, offset 0, IO size 128K */
0057 
0058                 gpmc,sync-read;
0059                 gpmc,burst-length = <16>;
0060                 gpmc,burst-read;
0061                 gpmc,burst-wrap;
0062                 gpmc,device-width = <2>;
0063                 gpmc,mux-add-data = <2>;
0064                 gpmc,cs-on-ns = <0>;
0065                 gpmc,cs-rd-off-ns = <127>;
0066                 gpmc,cs-wr-off-ns = <109>;
0067                 gpmc,adv-on-ns = <0>;
0068                 gpmc,adv-rd-off-ns = <18>;
0069                 gpmc,adv-wr-off-ns = <18>;
0070                 gpmc,oe-on-ns = <27>;
0071                 gpmc,oe-off-ns = <127>;
0072                 gpmc,we-on-ns = <27>;
0073                 gpmc,we-off-ns = <72>;
0074                 gpmc,rd-cycle-ns = <145>;
0075                 gpmc,wr-cycle-ns = <136>;
0076                 gpmc,access-ns = <118>;
0077                 gpmc,page-burst-access-ns = <27>;
0078                 gpmc,bus-turnaround-ns = <0>;
0079                 gpmc,cycle2cycle-delay-ns = <0>;
0080                 gpmc,wait-monitoring-ns = <0>;
0081                 gpmc,clk-activation-ns = <9>;
0082                 gpmc,sync-clk-ps = <27000>;
0083 
0084                 /* MTD partition table corresponding to old board-n8x0 file. */
0085                 partition@0 {
0086                         label = "bootloader";
0087                         reg = <0x00000000 0x00020000>;
0088                         read-only;
0089                 };
0090                 partition@1 {
0091                         label = "config";
0092                         reg = <0x00020000 0x00060000>;
0093                 };
0094                 partition@2 {
0095                         label = "kernel";
0096                         reg = <0x00080000 0x00200000>;
0097                 };
0098                 partition@3 {
0099                         label = "initfs";
0100                         reg = <0x00280000 0x00400000>;
0101                 };
0102                 partition@4 {
0103                         label = "rootfs";
0104                         reg = <0x00680000 0x0f980000>;
0105                 };
0106                 partition@5 {
0107                         label = "omap2-onenand";
0108                         reg = <0x00000000 0x10000000>;
0109                 };
0110         };
0111 };