1*f126890aSEmmanuel Vadot/* 2*f126890aSEmmanuel Vadot * Hitex LPC4350 Evaluation Board 3*f126890aSEmmanuel Vadot * 4*f126890aSEmmanuel Vadot * Copyright 2015 Ariel D'Alessandro <ariel.dalessandro@gmail.com> 5*f126890aSEmmanuel Vadot * 6*f126890aSEmmanuel Vadot * This code is released using a dual license strategy: BSD/GPL 7*f126890aSEmmanuel Vadot * You can choose the licence that better fits your requirements. 8*f126890aSEmmanuel Vadot * 9*f126890aSEmmanuel Vadot * Released under the terms of 3-clause BSD License 10*f126890aSEmmanuel Vadot * Released under the terms of GNU General Public License Version 2.0 11*f126890aSEmmanuel Vadot * 12*f126890aSEmmanuel Vadot */ 13*f126890aSEmmanuel Vadot/dts-v1/; 14*f126890aSEmmanuel Vadot 15*f126890aSEmmanuel Vadot#include "lpc18xx.dtsi" 16*f126890aSEmmanuel Vadot#include "lpc4350.dtsi" 17*f126890aSEmmanuel Vadot 18*f126890aSEmmanuel Vadot#include "dt-bindings/input/input.h" 19*f126890aSEmmanuel Vadot#include "dt-bindings/gpio/gpio.h" 20*f126890aSEmmanuel Vadot 21*f126890aSEmmanuel Vadot/ { 22*f126890aSEmmanuel Vadot model = "Hitex LPC4350 Evaluation Board"; 23*f126890aSEmmanuel Vadot compatible = "hitex,lpc4350-eval-board", "nxp,lpc4350"; 24*f126890aSEmmanuel Vadot 25*f126890aSEmmanuel Vadot aliases { 26*f126890aSEmmanuel Vadot serial0 = &uart0; 27*f126890aSEmmanuel Vadot serial1 = &uart1; 28*f126890aSEmmanuel Vadot serial2 = &uart2; 29*f126890aSEmmanuel Vadot serial3 = &uart3; 30*f126890aSEmmanuel Vadot }; 31*f126890aSEmmanuel Vadot 32*f126890aSEmmanuel Vadot chosen { 33*f126890aSEmmanuel Vadot stdout-path = &uart0; 34*f126890aSEmmanuel Vadot }; 35*f126890aSEmmanuel Vadot 36*f126890aSEmmanuel Vadot memory@28000000 { 37*f126890aSEmmanuel Vadot device_type = "memory"; 38*f126890aSEmmanuel Vadot reg = <0x28000000 0x800000>; /* 8 MB */ 39*f126890aSEmmanuel Vadot }; 40*f126890aSEmmanuel Vadot 41*f126890aSEmmanuel Vadot pca_buttons { 42*f126890aSEmmanuel Vadot compatible = "gpio-keys-polled"; 43*f126890aSEmmanuel Vadot poll-interval = <100>; 44*f126890aSEmmanuel Vadot autorepeat; 45*f126890aSEmmanuel Vadot 46*f126890aSEmmanuel Vadot button0 { 47*f126890aSEmmanuel Vadot label = "joy:right"; 48*f126890aSEmmanuel Vadot linux,code = <KEY_RIGHT>; 49*f126890aSEmmanuel Vadot gpios = <&pca_gpio 8 GPIO_ACTIVE_LOW>; 50*f126890aSEmmanuel Vadot }; 51*f126890aSEmmanuel Vadot 52*f126890aSEmmanuel Vadot button1 { 53*f126890aSEmmanuel Vadot label = "joy:up"; 54*f126890aSEmmanuel Vadot linux,code = <KEY_UP>; 55*f126890aSEmmanuel Vadot gpios = <&pca_gpio 9 GPIO_ACTIVE_LOW>; 56*f126890aSEmmanuel Vadot }; 57*f126890aSEmmanuel Vadot 58*f126890aSEmmanuel Vadot 59*f126890aSEmmanuel Vadot button2 { 60*f126890aSEmmanuel Vadot label = "joy:enter"; 61*f126890aSEmmanuel Vadot linux,code = <KEY_ENTER>; 62*f126890aSEmmanuel Vadot gpios = <&pca_gpio 10 GPIO_ACTIVE_LOW>; 63*f126890aSEmmanuel Vadot }; 64*f126890aSEmmanuel Vadot 65*f126890aSEmmanuel Vadot button3 { 66*f126890aSEmmanuel Vadot label = "joy:left"; 67*f126890aSEmmanuel Vadot linux,code = <KEY_LEFT>; 68*f126890aSEmmanuel Vadot gpios = <&pca_gpio 11 GPIO_ACTIVE_LOW>; 69*f126890aSEmmanuel Vadot }; 70*f126890aSEmmanuel Vadot 71*f126890aSEmmanuel Vadot button4 { 72*f126890aSEmmanuel Vadot label = "joy:down"; 73*f126890aSEmmanuel Vadot linux,code = <KEY_DOWN>; 74*f126890aSEmmanuel Vadot gpios = <&pca_gpio 12 GPIO_ACTIVE_LOW>; 75*f126890aSEmmanuel Vadot }; 76*f126890aSEmmanuel Vadot 77*f126890aSEmmanuel Vadot button5 { 78*f126890aSEmmanuel Vadot label = "user:sw3"; 79*f126890aSEmmanuel Vadot linux,code = <KEY_F1>; 80*f126890aSEmmanuel Vadot gpios = <&pca_gpio 13 GPIO_ACTIVE_LOW>; 81*f126890aSEmmanuel Vadot }; 82*f126890aSEmmanuel Vadot 83*f126890aSEmmanuel Vadot button6 { 84*f126890aSEmmanuel Vadot label = "user:sw4"; 85*f126890aSEmmanuel Vadot linux,code = <KEY_F2>; 86*f126890aSEmmanuel Vadot gpios = <&pca_gpio 14 GPIO_ACTIVE_LOW>; 87*f126890aSEmmanuel Vadot }; 88*f126890aSEmmanuel Vadot 89*f126890aSEmmanuel Vadot button7 { 90*f126890aSEmmanuel Vadot label = "user:sw5"; 91*f126890aSEmmanuel Vadot linux,code = <KEY_F3>; 92*f126890aSEmmanuel Vadot gpios = <&pca_gpio 15 GPIO_ACTIVE_LOW>; 93*f126890aSEmmanuel Vadot }; 94*f126890aSEmmanuel Vadot }; 95*f126890aSEmmanuel Vadot 96*f126890aSEmmanuel Vadot pca_leds { 97*f126890aSEmmanuel Vadot compatible = "gpio-leds"; 98*f126890aSEmmanuel Vadot 99*f126890aSEmmanuel Vadot led0 { 100*f126890aSEmmanuel Vadot label = "ext:led0"; 101*f126890aSEmmanuel Vadot gpios = <&pca_gpio 0 GPIO_ACTIVE_LOW>; 102*f126890aSEmmanuel Vadot linux,default-trigger = "heartbeat"; 103*f126890aSEmmanuel Vadot }; 104*f126890aSEmmanuel Vadot 105*f126890aSEmmanuel Vadot led1 { 106*f126890aSEmmanuel Vadot label = "ext:led1"; 107*f126890aSEmmanuel Vadot gpios = <&pca_gpio 1 GPIO_ACTIVE_LOW>; 108*f126890aSEmmanuel Vadot }; 109*f126890aSEmmanuel Vadot 110*f126890aSEmmanuel Vadot led2 { 111*f126890aSEmmanuel Vadot label = "ext:led2"; 112*f126890aSEmmanuel Vadot gpios = <&pca_gpio 2 GPIO_ACTIVE_LOW>; 113*f126890aSEmmanuel Vadot }; 114*f126890aSEmmanuel Vadot 115*f126890aSEmmanuel Vadot led3 { 116*f126890aSEmmanuel Vadot label = "ext:led3"; 117*f126890aSEmmanuel Vadot gpios = <&pca_gpio 3 GPIO_ACTIVE_LOW>; 118*f126890aSEmmanuel Vadot }; 119*f126890aSEmmanuel Vadot }; 120*f126890aSEmmanuel Vadot 121*f126890aSEmmanuel Vadot vcc: vcc_fixed { 122*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 123*f126890aSEmmanuel Vadot regulator-name = "3v3io"; 124*f126890aSEmmanuel Vadot regulator-min-microvolt = <3300000>; 125*f126890aSEmmanuel Vadot regulator-max-microvolt = <3300000>; 126*f126890aSEmmanuel Vadot }; 127*f126890aSEmmanuel Vadot}; 128*f126890aSEmmanuel Vadot 129*f126890aSEmmanuel Vadot&pinctrl { 130*f126890aSEmmanuel Vadot adc1_pins: adc1-pins { 131*f126890aSEmmanuel Vadot adc1_pins_cfg { 132*f126890aSEmmanuel Vadot pins = "pf_9"; 133*f126890aSEmmanuel Vadot function = "adc"; 134*f126890aSEmmanuel Vadot input-disable; 135*f126890aSEmmanuel Vadot bias-disable; 136*f126890aSEmmanuel Vadot }; 137*f126890aSEmmanuel Vadot }; 138*f126890aSEmmanuel Vadot 139*f126890aSEmmanuel Vadot emc_pins: emc-pins { 140*f126890aSEmmanuel Vadot emc_addr0_23_cfg { 141*f126890aSEmmanuel Vadot pins = "p2_9", "p2_10", "p2_11", "p2_12", 142*f126890aSEmmanuel Vadot "p2_13", "p1_0", "p1_1", "p1_2", 143*f126890aSEmmanuel Vadot "p2_8", "p2_7", "p2_6", "p2_2", 144*f126890aSEmmanuel Vadot "p2_1", "p2_0", "p6_8", "p6_7", 145*f126890aSEmmanuel Vadot "pd_16", "pd_15", "pe_0", "pe_1", 146*f126890aSEmmanuel Vadot "pe_2", "pe_3", "pe_4", "pa_4"; 147*f126890aSEmmanuel Vadot function = "emc"; 148*f126890aSEmmanuel Vadot slew-rate = <1>; 149*f126890aSEmmanuel Vadot bias-disable; 150*f126890aSEmmanuel Vadot input-enable; 151*f126890aSEmmanuel Vadot input-schmitt-disable; 152*f126890aSEmmanuel Vadot }; 153*f126890aSEmmanuel Vadot 154*f126890aSEmmanuel Vadot emc_data0_15_cfg { 155*f126890aSEmmanuel Vadot pins = "p1_7", "p1_8", "p1_9", "p1_10", 156*f126890aSEmmanuel Vadot "p1_11", "p1_12", "p1_13", "p1_14", 157*f126890aSEmmanuel Vadot "p5_4", "p5_5", "p5_6", "p5_7", 158*f126890aSEmmanuel Vadot "p5_0", "p5_1", "p5_2", "p5_3"; 159*f126890aSEmmanuel Vadot function = "emc"; 160*f126890aSEmmanuel Vadot slew-rate = <1>; 161*f126890aSEmmanuel Vadot bias-disable; 162*f126890aSEmmanuel Vadot input-enable; 163*f126890aSEmmanuel Vadot input-schmitt-disable; 164*f126890aSEmmanuel Vadot }; 165*f126890aSEmmanuel Vadot 166*f126890aSEmmanuel Vadot emc_we_oe_cfg { 167*f126890aSEmmanuel Vadot pins = "p1_6", "p1_3"; 168*f126890aSEmmanuel Vadot function = "emc"; 169*f126890aSEmmanuel Vadot slew-rate = <1>; 170*f126890aSEmmanuel Vadot bias-disable; 171*f126890aSEmmanuel Vadot input-enable; 172*f126890aSEmmanuel Vadot input-schmitt-disable; 173*f126890aSEmmanuel Vadot }; 174*f126890aSEmmanuel Vadot 175*f126890aSEmmanuel Vadot emc_bls0_3_cfg { 176*f126890aSEmmanuel Vadot pins = "p1_4", "p6_6", "pd_13", "pd_10"; 177*f126890aSEmmanuel Vadot function = "emc"; 178*f126890aSEmmanuel Vadot slew-rate = <1>; 179*f126890aSEmmanuel Vadot bias-disable; 180*f126890aSEmmanuel Vadot input-enable; 181*f126890aSEmmanuel Vadot input-schmitt-disable; 182*f126890aSEmmanuel Vadot }; 183*f126890aSEmmanuel Vadot 184*f126890aSEmmanuel Vadot emc_cs0_cs2_cfg { 185*f126890aSEmmanuel Vadot pins = "p1_5", "pd_12"; 186*f126890aSEmmanuel Vadot function = "emc"; 187*f126890aSEmmanuel Vadot slew-rate = <1>; 188*f126890aSEmmanuel Vadot bias-disable; 189*f126890aSEmmanuel Vadot input-enable; 190*f126890aSEmmanuel Vadot input-schmitt-disable; 191*f126890aSEmmanuel Vadot }; 192*f126890aSEmmanuel Vadot 193*f126890aSEmmanuel Vadot emc_sdram_dqm0_3_cfg { 194*f126890aSEmmanuel Vadot pins = "p6_12", "p6_10", "pd_0", "pe_13"; 195*f126890aSEmmanuel Vadot function = "emc"; 196*f126890aSEmmanuel Vadot slew-rate = <1>; 197*f126890aSEmmanuel Vadot bias-disable; 198*f126890aSEmmanuel Vadot input-enable; 199*f126890aSEmmanuel Vadot input-schmitt-disable; 200*f126890aSEmmanuel Vadot }; 201*f126890aSEmmanuel Vadot 202*f126890aSEmmanuel Vadot emc_sdram_ras_cas_cfg { 203*f126890aSEmmanuel Vadot pins = "p6_5", "p6_4"; 204*f126890aSEmmanuel Vadot function = "emc"; 205*f126890aSEmmanuel Vadot slew-rate = <1>; 206*f126890aSEmmanuel Vadot bias-disable; 207*f126890aSEmmanuel Vadot input-enable; 208*f126890aSEmmanuel Vadot input-schmitt-disable; 209*f126890aSEmmanuel Vadot }; 210*f126890aSEmmanuel Vadot 211*f126890aSEmmanuel Vadot emc_sdram_dycs0_cfg { 212*f126890aSEmmanuel Vadot pins = "p6_9"; 213*f126890aSEmmanuel Vadot function = "emc"; 214*f126890aSEmmanuel Vadot slew-rate = <1>; 215*f126890aSEmmanuel Vadot bias-disable; 216*f126890aSEmmanuel Vadot input-enable; 217*f126890aSEmmanuel Vadot input-schmitt-disable; 218*f126890aSEmmanuel Vadot }; 219*f126890aSEmmanuel Vadot 220*f126890aSEmmanuel Vadot emc_sdram_cke_cfg { 221*f126890aSEmmanuel Vadot pins = "p6_11"; 222*f126890aSEmmanuel Vadot function = "emc"; 223*f126890aSEmmanuel Vadot slew-rate = <1>; 224*f126890aSEmmanuel Vadot bias-disable; 225*f126890aSEmmanuel Vadot input-enable; 226*f126890aSEmmanuel Vadot input-schmitt-disable; 227*f126890aSEmmanuel Vadot }; 228*f126890aSEmmanuel Vadot 229*f126890aSEmmanuel Vadot emc_sdram_clock_cfg { 230*f126890aSEmmanuel Vadot pins = "clk0", "clk1", "clk2", "clk3"; 231*f126890aSEmmanuel Vadot function = "emc"; 232*f126890aSEmmanuel Vadot slew-rate = <1>; 233*f126890aSEmmanuel Vadot bias-disable; 234*f126890aSEmmanuel Vadot input-enable; 235*f126890aSEmmanuel Vadot input-schmitt-disable; 236*f126890aSEmmanuel Vadot }; 237*f126890aSEmmanuel Vadot }; 238*f126890aSEmmanuel Vadot 239*f126890aSEmmanuel Vadot enet_mii_pins: enet-mii-pins { 240*f126890aSEmmanuel Vadot enet_mii_rxd0_3_cfg { 241*f126890aSEmmanuel Vadot pins = "p1_15", "p0_0", "p9_3", "p9_2"; 242*f126890aSEmmanuel Vadot function = "enet"; 243*f126890aSEmmanuel Vadot bias-disable; 244*f126890aSEmmanuel Vadot input-enable; 245*f126890aSEmmanuel Vadot }; 246*f126890aSEmmanuel Vadot 247*f126890aSEmmanuel Vadot enet_mii_txd0_3_cfg { 248*f126890aSEmmanuel Vadot pins = "p1_18", "p1_20", "p9_4", "p9_5"; 249*f126890aSEmmanuel Vadot function = "enet"; 250*f126890aSEmmanuel Vadot bias-disable; 251*f126890aSEmmanuel Vadot }; 252*f126890aSEmmanuel Vadot 253*f126890aSEmmanuel Vadot enet_mii_crs_col_cfg { 254*f126890aSEmmanuel Vadot pins = "p9_0", "p9_6"; 255*f126890aSEmmanuel Vadot function = "enet"; 256*f126890aSEmmanuel Vadot bias-disable; 257*f126890aSEmmanuel Vadot input-enable; 258*f126890aSEmmanuel Vadot }; 259*f126890aSEmmanuel Vadot 260*f126890aSEmmanuel Vadot enet_mii_rx_clk_dv_er_cfg { 261*f126890aSEmmanuel Vadot pins = "pc_0", "p1_16", "p9_1"; 262*f126890aSEmmanuel Vadot function = "enet"; 263*f126890aSEmmanuel Vadot bias-disable; 264*f126890aSEmmanuel Vadot input-enable; 265*f126890aSEmmanuel Vadot }; 266*f126890aSEmmanuel Vadot 267*f126890aSEmmanuel Vadot enet_mii_tx_clk_en_cfg { 268*f126890aSEmmanuel Vadot pins = "p1_19", "p0_1"; 269*f126890aSEmmanuel Vadot function = "enet"; 270*f126890aSEmmanuel Vadot bias-disable; 271*f126890aSEmmanuel Vadot input-enable; 272*f126890aSEmmanuel Vadot }; 273*f126890aSEmmanuel Vadot 274*f126890aSEmmanuel Vadot enet_mdio_cfg { 275*f126890aSEmmanuel Vadot pins = "p1_17"; 276*f126890aSEmmanuel Vadot function = "enet"; 277*f126890aSEmmanuel Vadot bias-disable; 278*f126890aSEmmanuel Vadot input-enable; 279*f126890aSEmmanuel Vadot }; 280*f126890aSEmmanuel Vadot 281*f126890aSEmmanuel Vadot enet_mdc_cfg { 282*f126890aSEmmanuel Vadot pins = "pc_1"; 283*f126890aSEmmanuel Vadot function = "enet"; 284*f126890aSEmmanuel Vadot bias-disable; 285*f126890aSEmmanuel Vadot }; 286*f126890aSEmmanuel Vadot }; 287*f126890aSEmmanuel Vadot 288*f126890aSEmmanuel Vadot i2c0_pins: i2c0-pins { 289*f126890aSEmmanuel Vadot i2c0_pins_cfg { 290*f126890aSEmmanuel Vadot pins = "i2c0_scl", "i2c0_sda"; 291*f126890aSEmmanuel Vadot function = "i2c0"; 292*f126890aSEmmanuel Vadot input-enable; 293*f126890aSEmmanuel Vadot }; 294*f126890aSEmmanuel Vadot }; 295*f126890aSEmmanuel Vadot 296*f126890aSEmmanuel Vadot spifi_pins: spifi-pins { 297*f126890aSEmmanuel Vadot spifi_clk_cfg { 298*f126890aSEmmanuel Vadot pins = "p3_3"; 299*f126890aSEmmanuel Vadot function = "spifi"; 300*f126890aSEmmanuel Vadot slew-rate = <1>; 301*f126890aSEmmanuel Vadot bias-disable; 302*f126890aSEmmanuel Vadot input-enable; 303*f126890aSEmmanuel Vadot input-schmitt-disable; 304*f126890aSEmmanuel Vadot }; 305*f126890aSEmmanuel Vadot 306*f126890aSEmmanuel Vadot spifi_mosi_miso_sio2_3_cfg { 307*f126890aSEmmanuel Vadot pins = "p3_7", "p3_6", "p3_5", "p3_4"; 308*f126890aSEmmanuel Vadot function = "spifi"; 309*f126890aSEmmanuel Vadot slew-rate = <1>; 310*f126890aSEmmanuel Vadot bias-disable; 311*f126890aSEmmanuel Vadot input-enable; 312*f126890aSEmmanuel Vadot input-schmitt-disable; 313*f126890aSEmmanuel Vadot }; 314*f126890aSEmmanuel Vadot 315*f126890aSEmmanuel Vadot spifi_cs_cfg { 316*f126890aSEmmanuel Vadot pins = "p3_8"; 317*f126890aSEmmanuel Vadot function = "spifi"; 318*f126890aSEmmanuel Vadot slew-rate = <1>; 319*f126890aSEmmanuel Vadot bias-disable; 320*f126890aSEmmanuel Vadot input-enable; 321*f126890aSEmmanuel Vadot input-schmitt-disable; 322*f126890aSEmmanuel Vadot }; 323*f126890aSEmmanuel Vadot }; 324*f126890aSEmmanuel Vadot 325*f126890aSEmmanuel Vadot uart0_pins: uart0-pins { 326*f126890aSEmmanuel Vadot uart0_rx_cfg { 327*f126890aSEmmanuel Vadot pins = "pf_11"; 328*f126890aSEmmanuel Vadot function = "uart0"; 329*f126890aSEmmanuel Vadot input-schmitt-disable; 330*f126890aSEmmanuel Vadot bias-disable; 331*f126890aSEmmanuel Vadot input-enable; 332*f126890aSEmmanuel Vadot }; 333*f126890aSEmmanuel Vadot 334*f126890aSEmmanuel Vadot uart0_tx_cfg { 335*f126890aSEmmanuel Vadot pins = "pf_10"; 336*f126890aSEmmanuel Vadot function = "uart0"; 337*f126890aSEmmanuel Vadot bias-pull-down; 338*f126890aSEmmanuel Vadot }; 339*f126890aSEmmanuel Vadot }; 340*f126890aSEmmanuel Vadot}; 341*f126890aSEmmanuel Vadot 342*f126890aSEmmanuel Vadot&adc1 { 343*f126890aSEmmanuel Vadot status = "okay"; 344*f126890aSEmmanuel Vadot vref-supply = <&vcc>; 345*f126890aSEmmanuel Vadot pinctrl-names = "default"; 346*f126890aSEmmanuel Vadot pinctrl-0 = <&adc1_pins>; 347*f126890aSEmmanuel Vadot}; 348*f126890aSEmmanuel Vadot 349*f126890aSEmmanuel Vadot&emc { 350*f126890aSEmmanuel Vadot status = "okay"; 351*f126890aSEmmanuel Vadot pinctrl-names = "default"; 352*f126890aSEmmanuel Vadot pinctrl-0 = <&emc_pins>; 353*f126890aSEmmanuel Vadot 354*f126890aSEmmanuel Vadot cs0 { 355*f126890aSEmmanuel Vadot #address-cells = <2>; 356*f126890aSEmmanuel Vadot #size-cells = <1>; 357*f126890aSEmmanuel Vadot ranges; 358*f126890aSEmmanuel Vadot 359*f126890aSEmmanuel Vadot mpmc,cs = <0>; 360*f126890aSEmmanuel Vadot mpmc,memory-width = <16>; 361*f126890aSEmmanuel Vadot mpmc,byte-lane-low; 362*f126890aSEmmanuel Vadot mpmc,write-enable-delay = <0>; 363*f126890aSEmmanuel Vadot mpmc,output-enable-delay = <0>; 364*f126890aSEmmanuel Vadot mpmc,read-access-delay = <70>; 365*f126890aSEmmanuel Vadot mpmc,page-mode-read-delay = <70>; 366*f126890aSEmmanuel Vadot 367*f126890aSEmmanuel Vadot flash@0,0 { 368*f126890aSEmmanuel Vadot compatible = "sst,sst39vf320", "cfi-flash"; 369*f126890aSEmmanuel Vadot reg = <0 0 0x400000>; 370*f126890aSEmmanuel Vadot bank-width = <2>; 371*f126890aSEmmanuel Vadot #address-cells = <1>; 372*f126890aSEmmanuel Vadot #size-cells = <1>; 373*f126890aSEmmanuel Vadot 374*f126890aSEmmanuel Vadot partition@0 { 375*f126890aSEmmanuel Vadot label = "bootloader"; 376*f126890aSEmmanuel Vadot reg = <0x000000 0x040000>; /* 256 KiB */ 377*f126890aSEmmanuel Vadot }; 378*f126890aSEmmanuel Vadot 379*f126890aSEmmanuel Vadot partition@1 { 380*f126890aSEmmanuel Vadot label = "kernel"; 381*f126890aSEmmanuel Vadot reg = <0x040000 0x2C0000>; /* 2.75 MiB */ 382*f126890aSEmmanuel Vadot }; 383*f126890aSEmmanuel Vadot 384*f126890aSEmmanuel Vadot partition@2 { 385*f126890aSEmmanuel Vadot label = "rootfs"; 386*f126890aSEmmanuel Vadot reg = <0x300000 0x100000>; /* 1 MiB */ 387*f126890aSEmmanuel Vadot }; 388*f126890aSEmmanuel Vadot }; 389*f126890aSEmmanuel Vadot }; 390*f126890aSEmmanuel Vadot 391*f126890aSEmmanuel Vadot cs2 { 392*f126890aSEmmanuel Vadot #address-cells = <2>; 393*f126890aSEmmanuel Vadot #size-cells = <1>; 394*f126890aSEmmanuel Vadot ranges; 395*f126890aSEmmanuel Vadot 396*f126890aSEmmanuel Vadot mpmc,cs = <2>; 397*f126890aSEmmanuel Vadot mpmc,memory-width = <16>; 398*f126890aSEmmanuel Vadot mpmc,byte-lane-low; 399*f126890aSEmmanuel Vadot mpmc,write-enable-delay = <0>; 400*f126890aSEmmanuel Vadot mpmc,output-enable-delay = <30>; 401*f126890aSEmmanuel Vadot mpmc,read-access-delay = <90>; 402*f126890aSEmmanuel Vadot mpmc,page-mode-read-delay = <55>; 403*f126890aSEmmanuel Vadot mpmc,write-access-delay = <55>; 404*f126890aSEmmanuel Vadot mpmc,turn-round-delay = <55>; 405*f126890aSEmmanuel Vadot 406*f126890aSEmmanuel Vadot ext_sram: sram@2,0 { 407*f126890aSEmmanuel Vadot compatible = "mmio-sram"; 408*f126890aSEmmanuel Vadot reg = <2 0 0x80000>; /* 512 KiB SRAM on IS62WV25616 */ 409*f126890aSEmmanuel Vadot }; 410*f126890aSEmmanuel Vadot }; 411*f126890aSEmmanuel Vadot}; 412*f126890aSEmmanuel Vadot 413*f126890aSEmmanuel Vadot&enet_tx_clk { 414*f126890aSEmmanuel Vadot clock-frequency = <25000000>; 415*f126890aSEmmanuel Vadot}; 416*f126890aSEmmanuel Vadot 417*f126890aSEmmanuel Vadot&i2c0 { 418*f126890aSEmmanuel Vadot status = "okay"; 419*f126890aSEmmanuel Vadot pinctrl-names = "default"; 420*f126890aSEmmanuel Vadot pinctrl-0 = <&i2c0_pins>; 421*f126890aSEmmanuel Vadot clock-frequency = <400000>; 422*f126890aSEmmanuel Vadot 423*f126890aSEmmanuel Vadot /* NXP SE97BTP with temperature sensor + eeprom */ 424*f126890aSEmmanuel Vadot sensor@18 { 425*f126890aSEmmanuel Vadot compatible = "nxp,se97", "jedec,jc-42.4-temp"; 426*f126890aSEmmanuel Vadot reg = <0x18>; 427*f126890aSEmmanuel Vadot }; 428*f126890aSEmmanuel Vadot 429*f126890aSEmmanuel Vadot eeprom@50 { 430*f126890aSEmmanuel Vadot compatible = "nxp,24c02", "atmel,24c02"; 431*f126890aSEmmanuel Vadot reg = <0x50>; 432*f126890aSEmmanuel Vadot }; 433*f126890aSEmmanuel Vadot 434*f126890aSEmmanuel Vadot pca_gpio: gpio@24 { 435*f126890aSEmmanuel Vadot compatible = "nxp,pca9673"; 436*f126890aSEmmanuel Vadot reg = <0x24>; 437*f126890aSEmmanuel Vadot gpio-controller; 438*f126890aSEmmanuel Vadot #gpio-cells = <2>; 439*f126890aSEmmanuel Vadot }; 440*f126890aSEmmanuel Vadot}; 441*f126890aSEmmanuel Vadot 442*f126890aSEmmanuel Vadot&mac { 443*f126890aSEmmanuel Vadot status = "okay"; 444*f126890aSEmmanuel Vadot phy-mode = "mii"; 445*f126890aSEmmanuel Vadot pinctrl-names = "default"; 446*f126890aSEmmanuel Vadot pinctrl-0 = <&enet_mii_pins>; 447*f126890aSEmmanuel Vadot}; 448*f126890aSEmmanuel Vadot 449*f126890aSEmmanuel Vadot&spifi { 450*f126890aSEmmanuel Vadot status = "okay"; 451*f126890aSEmmanuel Vadot pinctrl-names = "default"; 452*f126890aSEmmanuel Vadot pinctrl-0 = <&spifi_pins>; 453*f126890aSEmmanuel Vadot 454*f126890aSEmmanuel Vadot flash { 455*f126890aSEmmanuel Vadot compatible = "jedec,spi-nor"; 456*f126890aSEmmanuel Vadot spi-rx-bus-width = <4>; 457*f126890aSEmmanuel Vadot #address-cells = <1>; 458*f126890aSEmmanuel Vadot #size-cells = <1>; 459*f126890aSEmmanuel Vadot 460*f126890aSEmmanuel Vadot partition@0 { 461*f126890aSEmmanuel Vadot label = "bootloader"; 462*f126890aSEmmanuel Vadot reg = <0x000000 0x040000>; /* 256 KiB */ 463*f126890aSEmmanuel Vadot }; 464*f126890aSEmmanuel Vadot 465*f126890aSEmmanuel Vadot partition@1 { 466*f126890aSEmmanuel Vadot label = "kernel"; 467*f126890aSEmmanuel Vadot reg = <0x040000 0x2c0000>; /* 2.75 MiB */ 468*f126890aSEmmanuel Vadot }; 469*f126890aSEmmanuel Vadot 470*f126890aSEmmanuel Vadot partition@2 { 471*f126890aSEmmanuel Vadot label = "rootfs"; 472*f126890aSEmmanuel Vadot reg = <0x300000 0x500000>; /* 5 MiB */ 473*f126890aSEmmanuel Vadot }; 474*f126890aSEmmanuel Vadot }; 475*f126890aSEmmanuel Vadot}; 476*f126890aSEmmanuel Vadot 477*f126890aSEmmanuel Vadot&uart0 { 478*f126890aSEmmanuel Vadot status = "okay"; 479*f126890aSEmmanuel Vadot pinctrl-names = "default"; 480*f126890aSEmmanuel Vadot pinctrl-0 = <&uart0_pins>; 481*f126890aSEmmanuel Vadot}; 482