1fdeaf0e2SAnatolij Gustschin/* 2fdeaf0e2SAnatolij Gustschin * Device Tree Source for the MPC5121e based ac14xx board 3fdeaf0e2SAnatolij Gustschin * 4fdeaf0e2SAnatolij Gustschin * Copyright 2012 Anatolij Gustschin <agust@denx.de> 5fdeaf0e2SAnatolij Gustschin * 6fdeaf0e2SAnatolij Gustschin * This program is free software; you can redistribute it and/or modify it 7fdeaf0e2SAnatolij Gustschin * under the terms of the GNU General Public License as published by the 8fdeaf0e2SAnatolij Gustschin * Free Software Foundation; either version 2 of the License, or (at your 9fdeaf0e2SAnatolij Gustschin * option) any later version. 10fdeaf0e2SAnatolij Gustschin */ 11fdeaf0e2SAnatolij Gustschin 12fdeaf0e2SAnatolij Gustschin 13fdeaf0e2SAnatolij Gustschin/include/ "mpc5121.dtsi" 14fdeaf0e2SAnatolij Gustschin 15fdeaf0e2SAnatolij Gustschin/ { 16fdeaf0e2SAnatolij Gustschin model = "ac14xx"; 17fdeaf0e2SAnatolij Gustschin compatible = "ifm,ac14xx", "fsl,mpc5121"; 18fdeaf0e2SAnatolij Gustschin #address-cells = <1>; 19fdeaf0e2SAnatolij Gustschin #size-cells = <1>; 20fdeaf0e2SAnatolij Gustschin 21fdeaf0e2SAnatolij Gustschin aliases { 22fdeaf0e2SAnatolij Gustschin serial0 = &serial0; 23fdeaf0e2SAnatolij Gustschin serial1 = &serial7; 24fdeaf0e2SAnatolij Gustschin spi4 = &spi4; 25fdeaf0e2SAnatolij Gustschin spi5 = &spi5; 26fdeaf0e2SAnatolij Gustschin }; 27fdeaf0e2SAnatolij Gustschin 28fdeaf0e2SAnatolij Gustschin cpus { 29fdeaf0e2SAnatolij Gustschin PowerPC,5121@0 { 30fdeaf0e2SAnatolij Gustschin timebase-frequency = <40000000>; /* 40 MHz (csb/4) */ 31fdeaf0e2SAnatolij Gustschin bus-frequency = <160000000>; /* 160 MHz csb bus */ 32fdeaf0e2SAnatolij Gustschin clock-frequency = <400000000>; /* 400 MHz ppc core */ 33fdeaf0e2SAnatolij Gustschin }; 34fdeaf0e2SAnatolij Gustschin }; 35fdeaf0e2SAnatolij Gustschin 36fdeaf0e2SAnatolij Gustschin memory { 37fdeaf0e2SAnatolij Gustschin reg = <0x00000000 0x10000000>; /* 256MB at 0 */ 38fdeaf0e2SAnatolij Gustschin }; 39fdeaf0e2SAnatolij Gustschin 40fdeaf0e2SAnatolij Gustschin nfc@40000000 { 41fdeaf0e2SAnatolij Gustschin status = "disabled"; 42fdeaf0e2SAnatolij Gustschin }; 43fdeaf0e2SAnatolij Gustschin 44fdeaf0e2SAnatolij Gustschin localbus@80000020 { 45fdeaf0e2SAnatolij Gustschin ranges = <0x0 0x0 0xfc000000 0x04000000 /* CS0: NOR flash */ 46fdeaf0e2SAnatolij Gustschin 0x1 0x0 0xe0000000 0x00010000 /* CS1: FRAM */ 47fdeaf0e2SAnatolij Gustschin 0x2 0x0 0xe0100000 0x00080000 /* CS2: asi1 */ 48fdeaf0e2SAnatolij Gustschin 0x3 0x0 0xe0300000 0x00020000 /* CS3: comm */ 49fdeaf0e2SAnatolij Gustschin 0x5 0x0 0xe0400000 0x00010000 /* CS5: safety */ 50fdeaf0e2SAnatolij Gustschin 0x6 0x0 0xe0200000 0x00080000>; /* CS6: asi2 */ 51fdeaf0e2SAnatolij Gustschin 52fdeaf0e2SAnatolij Gustschin flash@0,0 { 53fdeaf0e2SAnatolij Gustschin compatible = "cfi-flash"; 54fdeaf0e2SAnatolij Gustschin reg = <0 0x00000000 0x04000000>; 55fdeaf0e2SAnatolij Gustschin #address-cells = <1>; 56fdeaf0e2SAnatolij Gustschin #size-cells = <1>; 57fdeaf0e2SAnatolij Gustschin bank-width = <2>; 58fdeaf0e2SAnatolij Gustschin device-width = <2>; 59fdeaf0e2SAnatolij Gustschin 60fdeaf0e2SAnatolij Gustschin partition@0 { 61fdeaf0e2SAnatolij Gustschin label = "dtb-kernel-production"; 62fdeaf0e2SAnatolij Gustschin reg = <0x00000000 0x00400000>; 63fdeaf0e2SAnatolij Gustschin }; 64fdeaf0e2SAnatolij Gustschin partition@1 { 65fdeaf0e2SAnatolij Gustschin label = "filesystem-production"; 66fdeaf0e2SAnatolij Gustschin reg = <0x00400000 0x03400000>; 67fdeaf0e2SAnatolij Gustschin }; 68fdeaf0e2SAnatolij Gustschin 69fdeaf0e2SAnatolij Gustschin partition@2 { 70fdeaf0e2SAnatolij Gustschin label = "recovery"; 71fdeaf0e2SAnatolij Gustschin reg = <0x03800000 0x00700000>; 72fdeaf0e2SAnatolij Gustschin }; 73fdeaf0e2SAnatolij Gustschin 74fdeaf0e2SAnatolij Gustschin partition@3 { 75fdeaf0e2SAnatolij Gustschin label = "uboot-code"; 76fdeaf0e2SAnatolij Gustschin reg = <0x03f00000 0x00040000>; 77fdeaf0e2SAnatolij Gustschin }; 78fdeaf0e2SAnatolij Gustschin partition@4 { 79fdeaf0e2SAnatolij Gustschin label = "uboot-env1"; 80fdeaf0e2SAnatolij Gustschin reg = <0x03f40000 0x00020000>; 81fdeaf0e2SAnatolij Gustschin }; 82fdeaf0e2SAnatolij Gustschin partition@5 { 83fdeaf0e2SAnatolij Gustschin label = "uboot-env2"; 84fdeaf0e2SAnatolij Gustschin reg = <0x03f60000 0x00020000>; 85fdeaf0e2SAnatolij Gustschin }; 86fdeaf0e2SAnatolij Gustschin }; 87fdeaf0e2SAnatolij Gustschin 88fdeaf0e2SAnatolij Gustschin fram@1,0 { 89fdeaf0e2SAnatolij Gustschin compatible = "ifm,ac14xx-fram", "linux,uio-pdrv-genirq"; 90fdeaf0e2SAnatolij Gustschin reg = <1 0x00000000 0x00010000>; 91fdeaf0e2SAnatolij Gustschin }; 92fdeaf0e2SAnatolij Gustschin 93fdeaf0e2SAnatolij Gustschin asi@2,0 { 94fdeaf0e2SAnatolij Gustschin /* masters mapping: CS, CS offset, size */ 95fdeaf0e2SAnatolij Gustschin reg = <2 0x00000000 0x00080000 96fdeaf0e2SAnatolij Gustschin 6 0x00000000 0x00080000>; 97fdeaf0e2SAnatolij Gustschin #address-cells = <1>; 98fdeaf0e2SAnatolij Gustschin #size-cells = <1>; 99fdeaf0e2SAnatolij Gustschin compatible = "ifm,ac14xx-asi-fpga"; 100fdeaf0e2SAnatolij Gustschin gpios = < 101fdeaf0e2SAnatolij Gustschin &gpio_pic 26 0 /* prog */ 102fdeaf0e2SAnatolij Gustschin &gpio_pic 27 0 /* done */ 103fdeaf0e2SAnatolij Gustschin &gpio_pic 10 0 /* reset */ 104fdeaf0e2SAnatolij Gustschin >; 105fdeaf0e2SAnatolij Gustschin 106fdeaf0e2SAnatolij Gustschin master@1 { 107fdeaf0e2SAnatolij Gustschin interrupts = <20 0x2>; 108fdeaf0e2SAnatolij Gustschin interrupt-parent = <&gpio_pic>; 109fdeaf0e2SAnatolij Gustschin chipselect = <2 0x00009000 0x00009100>; 110fdeaf0e2SAnatolij Gustschin label = "AS-i master 1"; 111fdeaf0e2SAnatolij Gustschin }; 112fdeaf0e2SAnatolij Gustschin 113fdeaf0e2SAnatolij Gustschin master@2 { 114fdeaf0e2SAnatolij Gustschin interrupts = <21 0x2>; 115fdeaf0e2SAnatolij Gustschin interrupt-parent = <&gpio_pic>; 116fdeaf0e2SAnatolij Gustschin chipselect = <6 0x00009000 0x00009100>; 117fdeaf0e2SAnatolij Gustschin label = "AS-i master 2"; 118fdeaf0e2SAnatolij Gustschin }; 119fdeaf0e2SAnatolij Gustschin }; 120fdeaf0e2SAnatolij Gustschin 121fdeaf0e2SAnatolij Gustschin netx@3,0 { 122fdeaf0e2SAnatolij Gustschin compatible = "ifm,netx"; 123fdeaf0e2SAnatolij Gustschin reg = <0x3 0x00000000 0x00020000>; 124fdeaf0e2SAnatolij Gustschin chipselect = <3 0x00101140 0x00203100>; 125fdeaf0e2SAnatolij Gustschin interrupts = <17 0x8>; 126fdeaf0e2SAnatolij Gustschin gpios = <&gpio_pic 15 0>; 127fdeaf0e2SAnatolij Gustschin }; 128fdeaf0e2SAnatolij Gustschin 129fdeaf0e2SAnatolij Gustschin safety@5,0 { 130fdeaf0e2SAnatolij Gustschin compatible = "ifm,safety"; 131fdeaf0e2SAnatolij Gustschin reg = <0x5 0x00000000 0x00010000>; 132fdeaf0e2SAnatolij Gustschin chipselect = <5 0x00009000 0x00009100>; 133fdeaf0e2SAnatolij Gustschin interrupts = <22 0x2>; 134fdeaf0e2SAnatolij Gustschin interrupt-parent = <&gpio_pic>; 135fdeaf0e2SAnatolij Gustschin gpios = < 136fdeaf0e2SAnatolij Gustschin &gpio_pic 12 0 /* prog */ 137fdeaf0e2SAnatolij Gustschin &gpio_pic 11 0 /* done */ 138fdeaf0e2SAnatolij Gustschin >; 139fdeaf0e2SAnatolij Gustschin }; 140fdeaf0e2SAnatolij Gustschin }; 141fdeaf0e2SAnatolij Gustschin 142fdeaf0e2SAnatolij Gustschin soc@80000000 { 143fdeaf0e2SAnatolij Gustschin 144fdeaf0e2SAnatolij Gustschin clock@f00 { 145fdeaf0e2SAnatolij Gustschin compatible = "fsl,mpc5121rev2-clock", "fsl,mpc5121-clock"; 146fdeaf0e2SAnatolij Gustschin }; 147fdeaf0e2SAnatolij Gustschin 148fdeaf0e2SAnatolij Gustschin /* 149fdeaf0e2SAnatolij Gustschin * GPIO PIC: 150fdeaf0e2SAnatolij Gustschin * interrupts cell = <pin nr, sense> 151fdeaf0e2SAnatolij Gustschin * sense == 8: Level, low assertion 152fdeaf0e2SAnatolij Gustschin * sense == 2: Edge, high-to-low change 153fdeaf0e2SAnatolij Gustschin */ 154fdeaf0e2SAnatolij Gustschin gpio_pic: gpio@1100 { 155fdeaf0e2SAnatolij Gustschin gpio-controller; 156fdeaf0e2SAnatolij Gustschin #gpio-cells = <2>; 157fdeaf0e2SAnatolij Gustschin interrupt-controller; 158fdeaf0e2SAnatolij Gustschin #interrupt-cells = <2>; 159fdeaf0e2SAnatolij Gustschin }; 160fdeaf0e2SAnatolij Gustschin 161fdeaf0e2SAnatolij Gustschin sdhc@1500 { 162fdeaf0e2SAnatolij Gustschin cd-gpios = <&gpio_pic 23 0>; /* card detect */ 163fdeaf0e2SAnatolij Gustschin wp-gpios = <&gpio_pic 24 0>; /* write protect */ 164fdeaf0e2SAnatolij Gustschin wp-inverted; /* WP active high */ 165fdeaf0e2SAnatolij Gustschin }; 166fdeaf0e2SAnatolij Gustschin 167fdeaf0e2SAnatolij Gustschin i2c@1700 { 168fdeaf0e2SAnatolij Gustschin /* use Fast-mode */ 169fdeaf0e2SAnatolij Gustschin clock-frequency = <400000>; 170fdeaf0e2SAnatolij Gustschin 171fdeaf0e2SAnatolij Gustschin at24@30 { 172fdeaf0e2SAnatolij Gustschin compatible = "at24,24c01"; 173fdeaf0e2SAnatolij Gustschin reg = <0x30>; 174fdeaf0e2SAnatolij Gustschin }; 175fdeaf0e2SAnatolij Gustschin 176fdeaf0e2SAnatolij Gustschin at24@31 { 177fdeaf0e2SAnatolij Gustschin compatible = "at24,24c01"; 178fdeaf0e2SAnatolij Gustschin reg = <0x31>; 179fdeaf0e2SAnatolij Gustschin }; 180fdeaf0e2SAnatolij Gustschin 181fdeaf0e2SAnatolij Gustschin temp@48 { 182fdeaf0e2SAnatolij Gustschin compatible = "ad,ad7414"; 183fdeaf0e2SAnatolij Gustschin reg = <0x48>; 184fdeaf0e2SAnatolij Gustschin }; 185fdeaf0e2SAnatolij Gustschin 186fdeaf0e2SAnatolij Gustschin at24@50 { 187fdeaf0e2SAnatolij Gustschin compatible = "at24,24c01"; 188fdeaf0e2SAnatolij Gustschin reg = <0x50>; 189fdeaf0e2SAnatolij Gustschin }; 190fdeaf0e2SAnatolij Gustschin 191fdeaf0e2SAnatolij Gustschin at24@51 { 192fdeaf0e2SAnatolij Gustschin compatible = "at24,24c01"; 193fdeaf0e2SAnatolij Gustschin reg = <0x51>; 194fdeaf0e2SAnatolij Gustschin }; 195fdeaf0e2SAnatolij Gustschin 196fdeaf0e2SAnatolij Gustschin at24@52 { 197fdeaf0e2SAnatolij Gustschin compatible = "at24,24c01"; 198fdeaf0e2SAnatolij Gustschin reg = <0x52>; 199fdeaf0e2SAnatolij Gustschin }; 200fdeaf0e2SAnatolij Gustschin 201fdeaf0e2SAnatolij Gustschin at24@53 { 202fdeaf0e2SAnatolij Gustschin compatible = "at24,24c01"; 203fdeaf0e2SAnatolij Gustschin reg = <0x53>; 204fdeaf0e2SAnatolij Gustschin }; 205fdeaf0e2SAnatolij Gustschin 206fdeaf0e2SAnatolij Gustschin at24@54 { 207fdeaf0e2SAnatolij Gustschin compatible = "at24,24c01"; 208fdeaf0e2SAnatolij Gustschin reg = <0x54>; 209fdeaf0e2SAnatolij Gustschin }; 210fdeaf0e2SAnatolij Gustschin 211fdeaf0e2SAnatolij Gustschin at24@55 { 212fdeaf0e2SAnatolij Gustschin compatible = "at24,24c01"; 213fdeaf0e2SAnatolij Gustschin reg = <0x55>; 214fdeaf0e2SAnatolij Gustschin }; 215fdeaf0e2SAnatolij Gustschin 216fdeaf0e2SAnatolij Gustschin at24@56 { 217fdeaf0e2SAnatolij Gustschin compatible = "at24,24c01"; 218fdeaf0e2SAnatolij Gustschin reg = <0x56>; 219fdeaf0e2SAnatolij Gustschin }; 220fdeaf0e2SAnatolij Gustschin 221fdeaf0e2SAnatolij Gustschin at24@57 { 222fdeaf0e2SAnatolij Gustschin compatible = "at24,24c01"; 223fdeaf0e2SAnatolij Gustschin reg = <0x57>; 224fdeaf0e2SAnatolij Gustschin }; 225fdeaf0e2SAnatolij Gustschin 226fdeaf0e2SAnatolij Gustschin rtc@68 { 227fdeaf0e2SAnatolij Gustschin compatible = "stm,m41t00"; 228fdeaf0e2SAnatolij Gustschin reg = <0x68>; 229fdeaf0e2SAnatolij Gustschin }; 230fdeaf0e2SAnatolij Gustschin }; 231fdeaf0e2SAnatolij Gustschin 232fdeaf0e2SAnatolij Gustschin axe_pic: axe-base@2000 { 233fdeaf0e2SAnatolij Gustschin compatible = "fsl,mpc5121-axe-base"; 234fdeaf0e2SAnatolij Gustschin reg = <0x2000 0x100>; 235fdeaf0e2SAnatolij Gustschin interrupts = <42 0x8>; 236fdeaf0e2SAnatolij Gustschin interrupt-controller; 237fdeaf0e2SAnatolij Gustschin #interrupt-cells = <2>; 238fdeaf0e2SAnatolij Gustschin }; 239fdeaf0e2SAnatolij Gustschin 240fdeaf0e2SAnatolij Gustschin axe-app { 241fdeaf0e2SAnatolij Gustschin compatible = "fsl,mpc5121-axe-app"; 242fdeaf0e2SAnatolij Gustschin interrupt-parent = <&axe_pic>; 243fdeaf0e2SAnatolij Gustschin interrupts = < 244fdeaf0e2SAnatolij Gustschin /* soft interrupts */ 245fdeaf0e2SAnatolij Gustschin 0 0x0 1 0x0 2 0x0 3 0x0 246fdeaf0e2SAnatolij Gustschin 4 0x0 5 0x0 6 0x0 7 0x0 247fdeaf0e2SAnatolij Gustschin /* fifo interrupts */ 248fdeaf0e2SAnatolij Gustschin 8 0x0 9 0x0 10 0x0 11 0x0 249fdeaf0e2SAnatolij Gustschin >; 250fdeaf0e2SAnatolij Gustschin }; 251fdeaf0e2SAnatolij Gustschin 252fdeaf0e2SAnatolij Gustschin display@2100 { 253fdeaf0e2SAnatolij Gustschin edid = [00 FF FF FF FF FF FF 00 14 94 00 00 00 00 00 00 254fdeaf0e2SAnatolij Gustschin 0A 12 01 03 80 1C 23 78 CA 88 FF 94 52 54 8E 27 255fdeaf0e2SAnatolij Gustschin 1E 4C 50 00 00 00 01 01 01 01 01 01 01 01 01 01 256fdeaf0e2SAnatolij Gustschin 01 01 01 01 01 01 FB 00 B0 14 00 DC 05 00 08 04 257fdeaf0e2SAnatolij Gustschin 21 00 1C 23 00 00 00 18 00 00 00 FD 00 38 3C 1F 258fdeaf0e2SAnatolij Gustschin 3C 01 0A 20 20 20 20 20 20 20 00 00 00 FC 00 45 259fdeaf0e2SAnatolij Gustschin 54 30 31 38 30 30 33 44 4D 55 0A 0A 00 00 00 10 260fdeaf0e2SAnatolij Gustschin 00 41 30 30 30 30 30 30 30 30 30 30 30 31 00 D5]; 261fdeaf0e2SAnatolij Gustschin }; 262fdeaf0e2SAnatolij Gustschin 263fdeaf0e2SAnatolij Gustschin can@2300 { 264fdeaf0e2SAnatolij Gustschin status = "disabled"; 265fdeaf0e2SAnatolij Gustschin }; 266fdeaf0e2SAnatolij Gustschin 267fdeaf0e2SAnatolij Gustschin can@2380 { 268fdeaf0e2SAnatolij Gustschin status = "disabled"; 269fdeaf0e2SAnatolij Gustschin }; 270fdeaf0e2SAnatolij Gustschin 271fdeaf0e2SAnatolij Gustschin viu@2400 { 272fdeaf0e2SAnatolij Gustschin status = "disabled"; 273fdeaf0e2SAnatolij Gustschin }; 274fdeaf0e2SAnatolij Gustschin 275fdeaf0e2SAnatolij Gustschin mdio@2800 { 276fdeaf0e2SAnatolij Gustschin phy0: ethernet-phy@1f { 277fdeaf0e2SAnatolij Gustschin compatible = "smsc,lan8700"; 278fdeaf0e2SAnatolij Gustschin reg = <0x1f>; 279fdeaf0e2SAnatolij Gustschin }; 280fdeaf0e2SAnatolij Gustschin }; 281fdeaf0e2SAnatolij Gustschin 282fdeaf0e2SAnatolij Gustschin enet: ethernet@2800 { 283fdeaf0e2SAnatolij Gustschin phy-handle = <&phy0>; 284fdeaf0e2SAnatolij Gustschin }; 285fdeaf0e2SAnatolij Gustschin 286fdeaf0e2SAnatolij Gustschin usb@3000 { 287fdeaf0e2SAnatolij Gustschin status = "disabled"; 288fdeaf0e2SAnatolij Gustschin }; 289fdeaf0e2SAnatolij Gustschin 290fdeaf0e2SAnatolij Gustschin usb@4000 { 291fdeaf0e2SAnatolij Gustschin status = "disabled"; 292fdeaf0e2SAnatolij Gustschin }; 293fdeaf0e2SAnatolij Gustschin 294fdeaf0e2SAnatolij Gustschin /* PSC3 serial port A, aka ttyPSC0 */ 295fdeaf0e2SAnatolij Gustschin serial0: psc@11300 { 296fdeaf0e2SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 297fdeaf0e2SAnatolij Gustschin fsl,rx-fifo-size = <512>; 298fdeaf0e2SAnatolij Gustschin fsl,tx-fifo-size = <512>; 299fdeaf0e2SAnatolij Gustschin }; 300fdeaf0e2SAnatolij Gustschin 301fdeaf0e2SAnatolij Gustschin /* PSC4 in SPI mode */ 302fdeaf0e2SAnatolij Gustschin spi4: psc@11400 { 303fdeaf0e2SAnatolij Gustschin compatible = "fsl,mpc5121-psc-spi", "fsl,mpc5121-psc"; 304fdeaf0e2SAnatolij Gustschin fsl,rx-fifo-size = <768>; 305fdeaf0e2SAnatolij Gustschin fsl,tx-fifo-size = <768>; 306fdeaf0e2SAnatolij Gustschin #address-cells = <1>; 307fdeaf0e2SAnatolij Gustschin #size-cells = <0>; 308fdeaf0e2SAnatolij Gustschin num-cs = <1>; 309fdeaf0e2SAnatolij Gustschin cs-gpios = <&gpio_pic 25 0>; 310fdeaf0e2SAnatolij Gustschin 311fdeaf0e2SAnatolij Gustschin flash: m25p128@0 { 312fdeaf0e2SAnatolij Gustschin compatible = "st,m25p128"; 313fdeaf0e2SAnatolij Gustschin spi-max-frequency = <20000000>; 314fdeaf0e2SAnatolij Gustschin reg = <0>; 315fdeaf0e2SAnatolij Gustschin #address-cells = <1>; 316fdeaf0e2SAnatolij Gustschin #size-cells = <1>; 317fdeaf0e2SAnatolij Gustschin 318fdeaf0e2SAnatolij Gustschin partition@0 { 319fdeaf0e2SAnatolij Gustschin label = "spi-flash0"; 320fdeaf0e2SAnatolij Gustschin reg = <0x00000000 0x01000000>; 321fdeaf0e2SAnatolij Gustschin }; 322fdeaf0e2SAnatolij Gustschin }; 323fdeaf0e2SAnatolij Gustschin }; 324fdeaf0e2SAnatolij Gustschin 325fdeaf0e2SAnatolij Gustschin /* PSC5 in SPI mode */ 326fdeaf0e2SAnatolij Gustschin spi5: psc@11500 { 327fdeaf0e2SAnatolij Gustschin compatible = "fsl,mpc5121-psc-spi", "fsl,mpc5121-psc"; 328fdeaf0e2SAnatolij Gustschin fsl,mode = "spi-master"; 329fdeaf0e2SAnatolij Gustschin fsl,rx-fifo-size = <128>; 330fdeaf0e2SAnatolij Gustschin fsl,tx-fifo-size = <128>; 331fdeaf0e2SAnatolij Gustschin #address-cells = <1>; 332fdeaf0e2SAnatolij Gustschin #size-cells = <0>; 333fdeaf0e2SAnatolij Gustschin 334fdeaf0e2SAnatolij Gustschin lcd@0 { 335fdeaf0e2SAnatolij Gustschin compatible = "ilitek,ili922x"; 336fdeaf0e2SAnatolij Gustschin reg = <0>; 337fdeaf0e2SAnatolij Gustschin spi-max-frequency = <100000>; 338fdeaf0e2SAnatolij Gustschin spi-cpol; 339fdeaf0e2SAnatolij Gustschin spi-cpha; 340fdeaf0e2SAnatolij Gustschin }; 341fdeaf0e2SAnatolij Gustschin }; 342fdeaf0e2SAnatolij Gustschin 343fdeaf0e2SAnatolij Gustschin /* PSC7 serial port C, aka ttyPSC2 */ 344fdeaf0e2SAnatolij Gustschin serial7: psc@11700 { 345fdeaf0e2SAnatolij Gustschin compatible = "fsl,mpc5121-psc-uart", "fsl,mpc5121-psc"; 346fdeaf0e2SAnatolij Gustschin fsl,rx-fifo-size = <512>; 347fdeaf0e2SAnatolij Gustschin fsl,tx-fifo-size = <512>; 348fdeaf0e2SAnatolij Gustschin }; 349fdeaf0e2SAnatolij Gustschin 350fdeaf0e2SAnatolij Gustschin matrix_keypad@0 { 351fdeaf0e2SAnatolij Gustschin compatible = "gpio-matrix-keypad"; 352fdeaf0e2SAnatolij Gustschin debounce-delay-ms = <5>; 353fdeaf0e2SAnatolij Gustschin col-scan-delay-us = <1>; 354fdeaf0e2SAnatolij Gustschin gpio-activelow; 355fdeaf0e2SAnatolij Gustschin col-gpios-binary; 356fdeaf0e2SAnatolij Gustschin col-switch-delay-ms = <200>; 357fdeaf0e2SAnatolij Gustschin 358fdeaf0e2SAnatolij Gustschin col-gpios = <&gpio_pic 1 0>; /* pin1 */ 359fdeaf0e2SAnatolij Gustschin 360fdeaf0e2SAnatolij Gustschin row-gpios = <&gpio_pic 2 0 /* pin2 */ 361fdeaf0e2SAnatolij Gustschin &gpio_pic 3 0 /* pin3 */ 362fdeaf0e2SAnatolij Gustschin &gpio_pic 4 0>; /* pin4 */ 363fdeaf0e2SAnatolij Gustschin 364fdeaf0e2SAnatolij Gustschin linux,keymap = <0x0000006e /* FN LEFT */ 365fdeaf0e2SAnatolij Gustschin 0x01000067 /* UP */ 366fdeaf0e2SAnatolij Gustschin 0x02000066 /* FN RIGHT */ 367fdeaf0e2SAnatolij Gustschin 0x00010069 /* LEFT */ 368fdeaf0e2SAnatolij Gustschin 0x0101006a /* DOWN */ 369fdeaf0e2SAnatolij Gustschin 0x0201006c>; /* RIGHT */ 370fdeaf0e2SAnatolij Gustschin }; 371fdeaf0e2SAnatolij Gustschin }; 372fdeaf0e2SAnatolij Gustschin 373fdeaf0e2SAnatolij Gustschin leds { 374fdeaf0e2SAnatolij Gustschin compatible = "gpio-leds"; 375fdeaf0e2SAnatolij Gustschin 376fdeaf0e2SAnatolij Gustschin backlight { 377fdeaf0e2SAnatolij Gustschin label = "backlight"; 378fdeaf0e2SAnatolij Gustschin gpios = <&gpio_pic 0 0>; 379fdeaf0e2SAnatolij Gustschin default-state = "keep"; 380fdeaf0e2SAnatolij Gustschin }; 381fdeaf0e2SAnatolij Gustschin green { 382fdeaf0e2SAnatolij Gustschin label = "green"; 383fdeaf0e2SAnatolij Gustschin gpios = <&gpio_pic 18 0>; 384fdeaf0e2SAnatolij Gustschin default-state = "keep"; 385fdeaf0e2SAnatolij Gustschin }; 386fdeaf0e2SAnatolij Gustschin red { 387fdeaf0e2SAnatolij Gustschin label = "red"; 388fdeaf0e2SAnatolij Gustschin gpios = <&gpio_pic 19 0>; 389fdeaf0e2SAnatolij Gustschin default-state = "keep"; 390fdeaf0e2SAnatolij Gustschin }; 391fdeaf0e2SAnatolij Gustschin }; 392fdeaf0e2SAnatolij Gustschin}; 393