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