18cc087a1SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 28cc087a1SEmmanuel Vadot/* 3c9ccf3a3SEmmanuel Vadot * Device Tree Source for the RZ/{G2L,V2L} SMARC SOM common parts 48cc087a1SEmmanuel Vadot * 58cc087a1SEmmanuel Vadot * Copyright (C) 2021 Renesas Electronics Corp. 68cc087a1SEmmanuel Vadot */ 78cc087a1SEmmanuel Vadot 88cc087a1SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 97ef62cebSEmmanuel Vadot#include <dt-bindings/interrupt-controller/irqc-rzg2l.h> 108cc087a1SEmmanuel Vadot#include <dt-bindings/pinctrl/rzg2l-pinctrl.h> 118cc087a1SEmmanuel Vadot 128cc087a1SEmmanuel Vadot/* SW1[2] should be at position 2/OFF to enable 64 GB eMMC */ 138cc087a1SEmmanuel Vadot#define EMMC 1 148cc087a1SEmmanuel Vadot 158cc087a1SEmmanuel Vadot/* 168cc087a1SEmmanuel Vadot * To enable uSD card on CN3, 178cc087a1SEmmanuel Vadot * SW1[2] should be at position 3/ON. 188cc087a1SEmmanuel Vadot * Disable eMMC by setting "#define EMMC 0" above. 198cc087a1SEmmanuel Vadot */ 208cc087a1SEmmanuel Vadot#define SDHI (!EMMC) 218cc087a1SEmmanuel Vadot 228cc087a1SEmmanuel Vadot/ { 238cc087a1SEmmanuel Vadot aliases { 248cc087a1SEmmanuel Vadot ethernet0 = ð0; 258cc087a1SEmmanuel Vadot ethernet1 = ð1; 268cc087a1SEmmanuel Vadot }; 278cc087a1SEmmanuel Vadot 288cc087a1SEmmanuel Vadot chosen { 298cc087a1SEmmanuel Vadot bootargs = "ignore_loglevel rw root=/dev/nfs ip=on"; 308cc087a1SEmmanuel Vadot }; 318cc087a1SEmmanuel Vadot 328cc087a1SEmmanuel Vadot memory@48000000 { 338cc087a1SEmmanuel Vadot device_type = "memory"; 348cc087a1SEmmanuel Vadot /* first 128MB is reserved for secure area. */ 358cc087a1SEmmanuel Vadot reg = <0x0 0x48000000 0x0 0x78000000>; 368cc087a1SEmmanuel Vadot }; 378cc087a1SEmmanuel Vadot 38b97ee269SEmmanuel Vadot reg_1p8v: regulator-1p8v { 398cc087a1SEmmanuel Vadot compatible = "regulator-fixed"; 408cc087a1SEmmanuel Vadot regulator-name = "fixed-1.8V"; 418cc087a1SEmmanuel Vadot regulator-min-microvolt = <1800000>; 428cc087a1SEmmanuel Vadot regulator-max-microvolt = <1800000>; 438cc087a1SEmmanuel Vadot regulator-boot-on; 448cc087a1SEmmanuel Vadot regulator-always-on; 458cc087a1SEmmanuel Vadot }; 468cc087a1SEmmanuel Vadot 47b97ee269SEmmanuel Vadot reg_3p3v: regulator-3p3v { 488cc087a1SEmmanuel Vadot compatible = "regulator-fixed"; 498cc087a1SEmmanuel Vadot regulator-name = "fixed-3.3V"; 508cc087a1SEmmanuel Vadot regulator-min-microvolt = <3300000>; 518cc087a1SEmmanuel Vadot regulator-max-microvolt = <3300000>; 528cc087a1SEmmanuel Vadot regulator-boot-on; 538cc087a1SEmmanuel Vadot regulator-always-on; 548cc087a1SEmmanuel Vadot }; 558cc087a1SEmmanuel Vadot 56e67e8565SEmmanuel Vadot reg_1p1v: regulator-vdd-core { 57e67e8565SEmmanuel Vadot compatible = "regulator-fixed"; 58e67e8565SEmmanuel Vadot regulator-name = "fixed-1.1V"; 59e67e8565SEmmanuel Vadot regulator-min-microvolt = <1100000>; 60e67e8565SEmmanuel Vadot regulator-max-microvolt = <1100000>; 61e67e8565SEmmanuel Vadot regulator-boot-on; 62e67e8565SEmmanuel Vadot regulator-always-on; 63e67e8565SEmmanuel Vadot }; 64e67e8565SEmmanuel Vadot 658cc087a1SEmmanuel Vadot vccq_sdhi0: regulator-vccq-sdhi0 { 668cc087a1SEmmanuel Vadot compatible = "regulator-gpio"; 678cc087a1SEmmanuel Vadot 688cc087a1SEmmanuel Vadot regulator-name = "SDHI0 VccQ"; 698cc087a1SEmmanuel Vadot regulator-min-microvolt = <1800000>; 708cc087a1SEmmanuel Vadot regulator-max-microvolt = <3300000>; 718cc087a1SEmmanuel Vadot states = <3300000 1>, <1800000 0>; 728cc087a1SEmmanuel Vadot regulator-boot-on; 738cc087a1SEmmanuel Vadot gpios = <&pinctrl RZG2L_GPIO(39, 0) GPIO_ACTIVE_HIGH>; 748cc087a1SEmmanuel Vadot regulator-always-on; 758cc087a1SEmmanuel Vadot }; 76aa1a8ff2SEmmanuel Vadot 77aa1a8ff2SEmmanuel Vadot /* 32.768kHz crystal */ 78aa1a8ff2SEmmanuel Vadot x2: x2-clock { 79aa1a8ff2SEmmanuel Vadot compatible = "fixed-clock"; 80aa1a8ff2SEmmanuel Vadot #clock-cells = <0>; 81aa1a8ff2SEmmanuel Vadot clock-frequency = <32768>; 82aa1a8ff2SEmmanuel Vadot }; 838cc087a1SEmmanuel Vadot}; 848cc087a1SEmmanuel Vadot 858cc087a1SEmmanuel Vadot&adc { 868cc087a1SEmmanuel Vadot pinctrl-0 = <&adc_pins>; 878cc087a1SEmmanuel Vadot pinctrl-names = "default"; 888cc087a1SEmmanuel Vadot status = "okay"; 898cc087a1SEmmanuel Vadot 908cc087a1SEmmanuel Vadot /delete-node/ channel@6; 918cc087a1SEmmanuel Vadot /delete-node/ channel@7; 928cc087a1SEmmanuel Vadot}; 938cc087a1SEmmanuel Vadot 948cc087a1SEmmanuel Vadotð0 { 958cc087a1SEmmanuel Vadot pinctrl-0 = <ð0_pins>; 968cc087a1SEmmanuel Vadot pinctrl-names = "default"; 978cc087a1SEmmanuel Vadot phy-handle = <&phy0>; 988cc087a1SEmmanuel Vadot phy-mode = "rgmii-id"; 998cc087a1SEmmanuel Vadot status = "okay"; 1008cc087a1SEmmanuel Vadot 1018cc087a1SEmmanuel Vadot phy0: ethernet-phy@7 { 1028cc087a1SEmmanuel Vadot compatible = "ethernet-phy-id0022.1640", 1038cc087a1SEmmanuel Vadot "ethernet-phy-ieee802.3-c22"; 1048cc087a1SEmmanuel Vadot reg = <7>; 1057ef62cebSEmmanuel Vadot interrupt-parent = <&irqc>; 1067ef62cebSEmmanuel Vadot interrupts = <RZG2L_IRQ2 IRQ_TYPE_LEVEL_LOW>; 1078cc087a1SEmmanuel Vadot rxc-skew-psec = <2400>; 1088cc087a1SEmmanuel Vadot txc-skew-psec = <2400>; 1098cc087a1SEmmanuel Vadot rxdv-skew-psec = <0>; 110aa1a8ff2SEmmanuel Vadot txen-skew-psec = <0>; 1118cc087a1SEmmanuel Vadot rxd0-skew-psec = <0>; 1128cc087a1SEmmanuel Vadot rxd1-skew-psec = <0>; 1138cc087a1SEmmanuel Vadot rxd2-skew-psec = <0>; 1148cc087a1SEmmanuel Vadot rxd3-skew-psec = <0>; 1158cc087a1SEmmanuel Vadot txd0-skew-psec = <0>; 1168cc087a1SEmmanuel Vadot txd1-skew-psec = <0>; 1178cc087a1SEmmanuel Vadot txd2-skew-psec = <0>; 1188cc087a1SEmmanuel Vadot txd3-skew-psec = <0>; 1198cc087a1SEmmanuel Vadot }; 1208cc087a1SEmmanuel Vadot}; 1218cc087a1SEmmanuel Vadot 1228cc087a1SEmmanuel Vadotð1 { 1238cc087a1SEmmanuel Vadot pinctrl-0 = <ð1_pins>; 1248cc087a1SEmmanuel Vadot pinctrl-names = "default"; 1258cc087a1SEmmanuel Vadot phy-handle = <&phy1>; 1268cc087a1SEmmanuel Vadot phy-mode = "rgmii-id"; 1278cc087a1SEmmanuel Vadot status = "okay"; 1288cc087a1SEmmanuel Vadot 1298cc087a1SEmmanuel Vadot phy1: ethernet-phy@7 { 1308cc087a1SEmmanuel Vadot compatible = "ethernet-phy-id0022.1640", 1318cc087a1SEmmanuel Vadot "ethernet-phy-ieee802.3-c22"; 1328cc087a1SEmmanuel Vadot reg = <7>; 1337ef62cebSEmmanuel Vadot interrupt-parent = <&irqc>; 1347ef62cebSEmmanuel Vadot interrupts = <RZG2L_IRQ3 IRQ_TYPE_LEVEL_LOW>; 1358cc087a1SEmmanuel Vadot rxc-skew-psec = <2400>; 1368cc087a1SEmmanuel Vadot txc-skew-psec = <2400>; 1378cc087a1SEmmanuel Vadot rxdv-skew-psec = <0>; 138aa1a8ff2SEmmanuel Vadot txen-skew-psec = <0>; 1398cc087a1SEmmanuel Vadot rxd0-skew-psec = <0>; 1408cc087a1SEmmanuel Vadot rxd1-skew-psec = <0>; 1418cc087a1SEmmanuel Vadot rxd2-skew-psec = <0>; 1428cc087a1SEmmanuel Vadot rxd3-skew-psec = <0>; 1438cc087a1SEmmanuel Vadot txd0-skew-psec = <0>; 1448cc087a1SEmmanuel Vadot txd1-skew-psec = <0>; 1458cc087a1SEmmanuel Vadot txd2-skew-psec = <0>; 1468cc087a1SEmmanuel Vadot txd3-skew-psec = <0>; 1478cc087a1SEmmanuel Vadot }; 1488cc087a1SEmmanuel Vadot}; 1498cc087a1SEmmanuel Vadot 1508cc087a1SEmmanuel Vadot&extal_clk { 1518cc087a1SEmmanuel Vadot clock-frequency = <24000000>; 1528cc087a1SEmmanuel Vadot}; 1538cc087a1SEmmanuel Vadot 154e67e8565SEmmanuel Vadot&gpu { 155e67e8565SEmmanuel Vadot mali-supply = <®_1p1v>; 156e67e8565SEmmanuel Vadot}; 157e67e8565SEmmanuel Vadot 158aa1a8ff2SEmmanuel Vadot&i2c3 { 159aa1a8ff2SEmmanuel Vadot raa215300: pmic@12 { 160aa1a8ff2SEmmanuel Vadot compatible = "renesas,raa215300"; 161aa1a8ff2SEmmanuel Vadot reg = <0x12>, <0x6f>; 162aa1a8ff2SEmmanuel Vadot reg-names = "main", "rtc"; 163aa1a8ff2SEmmanuel Vadot 164aa1a8ff2SEmmanuel Vadot clocks = <&x2>; 165aa1a8ff2SEmmanuel Vadot clock-names = "xin"; 166aa1a8ff2SEmmanuel Vadot }; 167aa1a8ff2SEmmanuel Vadot}; 168aa1a8ff2SEmmanuel Vadot 169e67e8565SEmmanuel Vadot&ostm1 { 170e67e8565SEmmanuel Vadot status = "okay"; 171e67e8565SEmmanuel Vadot}; 172e67e8565SEmmanuel Vadot 173e67e8565SEmmanuel Vadot&ostm2 { 174e67e8565SEmmanuel Vadot status = "okay"; 175e67e8565SEmmanuel Vadot}; 176e67e8565SEmmanuel Vadot 1778cc087a1SEmmanuel Vadot&pinctrl { 1788cc087a1SEmmanuel Vadot adc_pins: adc { 1798cc087a1SEmmanuel Vadot pinmux = <RZG2L_PORT_PINMUX(9, 0, 2)>; /* ADC_TRG */ 1808cc087a1SEmmanuel Vadot }; 1818cc087a1SEmmanuel Vadot 1828cc087a1SEmmanuel Vadot eth0_pins: eth0 { 1838cc087a1SEmmanuel Vadot pinmux = <RZG2L_PORT_PINMUX(28, 1, 1)>, /* ET0_LINKSTA */ 1848cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(27, 1, 1)>, /* ET0_MDC */ 1858cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(28, 0, 1)>, /* ET0_MDIO */ 1868cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(20, 0, 1)>, /* ET0_TXC */ 1878cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(20, 1, 1)>, /* ET0_TX_CTL */ 1888cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(20, 2, 1)>, /* ET0_TXD0 */ 1898cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(21, 0, 1)>, /* ET0_TXD1 */ 1908cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(21, 1, 1)>, /* ET0_TXD2 */ 1918cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(22, 0, 1)>, /* ET0_TXD3 */ 1928cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(24, 0, 1)>, /* ET0_RXC */ 1938cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(24, 1, 1)>, /* ET0_RX_CTL */ 1948cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(25, 0, 1)>, /* ET0_RXD0 */ 1958cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(25, 1, 1)>, /* ET0_RXD1 */ 1968cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(26, 0, 1)>, /* ET0_RXD2 */ 1977ef62cebSEmmanuel Vadot <RZG2L_PORT_PINMUX(26, 1, 1)>, /* ET0_RXD3 */ 1987ef62cebSEmmanuel Vadot <RZG2L_PORT_PINMUX(1, 0, 1)>; /* IRQ2 */ 1998cc087a1SEmmanuel Vadot }; 2008cc087a1SEmmanuel Vadot 2018cc087a1SEmmanuel Vadot eth1_pins: eth1 { 2028cc087a1SEmmanuel Vadot pinmux = <RZG2L_PORT_PINMUX(37, 2, 1)>, /* ET1_LINKSTA */ 2038cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(37, 0, 1)>, /* ET1_MDC */ 2048cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(37, 1, 1)>, /* ET1_MDIO */ 2058cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(29, 0, 1)>, /* ET1_TXC */ 2068cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(29, 1, 1)>, /* ET1_TX_CTL */ 2078cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(30, 0, 1)>, /* ET1_TXD0 */ 2088cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(30, 1, 1)>, /* ET1_TXD1 */ 2098cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(31, 0, 1)>, /* ET1_TXD2 */ 2108cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(31, 1, 1)>, /* ET1_TXD3 */ 2118cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(33, 1, 1)>, /* ET1_RXC */ 2128cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(34, 0, 1)>, /* ET1_RX_CTL */ 2138cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(34, 1, 1)>, /* ET1_RXD0 */ 2148cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(35, 0, 1)>, /* ET1_RXD1 */ 2158cc087a1SEmmanuel Vadot <RZG2L_PORT_PINMUX(35, 1, 1)>, /* ET1_RXD2 */ 2167ef62cebSEmmanuel Vadot <RZG2L_PORT_PINMUX(36, 0, 1)>, /* ET1_RXD3 */ 2177ef62cebSEmmanuel Vadot <RZG2L_PORT_PINMUX(1, 1, 1)>; /* IRQ3 */ 2188cc087a1SEmmanuel Vadot }; 2198cc087a1SEmmanuel Vadot 2208cc087a1SEmmanuel Vadot gpio-sd0-pwr-en-hog { 2218cc087a1SEmmanuel Vadot gpio-hog; 2228cc087a1SEmmanuel Vadot gpios = <RZG2L_GPIO(4, 1) GPIO_ACTIVE_HIGH>; 2238cc087a1SEmmanuel Vadot output-high; 2248cc087a1SEmmanuel Vadot line-name = "gpio_sd0_pwr_en"; 2258cc087a1SEmmanuel Vadot }; 2268cc087a1SEmmanuel Vadot 227e67e8565SEmmanuel Vadot qspi0_pins: qspi0 { 228e67e8565SEmmanuel Vadot qspi0-data { 229e67e8565SEmmanuel Vadot pins = "QSPI0_IO0", "QSPI0_IO1", "QSPI0_IO2", "QSPI0_IO3"; 230e67e8565SEmmanuel Vadot power-source = <1800>; 231e67e8565SEmmanuel Vadot }; 232e67e8565SEmmanuel Vadot 233e67e8565SEmmanuel Vadot qspi0-ctrl { 234e67e8565SEmmanuel Vadot pins = "QSPI0_SPCLK", "QSPI0_SSL", "QSPI_RESET#"; 235e67e8565SEmmanuel Vadot power-source = <1800>; 236e67e8565SEmmanuel Vadot }; 237e67e8565SEmmanuel Vadot }; 238e67e8565SEmmanuel Vadot 2398cc087a1SEmmanuel Vadot /* 2408cc087a1SEmmanuel Vadot * SD0 device selection is XOR between GPIO_SD0_DEV_SEL and SW1[2] 2418cc087a1SEmmanuel Vadot * The below switch logic can be used to select the device between 2428cc087a1SEmmanuel Vadot * eMMC and microSD, after setting GPIO_SD0_DEV_SEL to high in DT. 2438cc087a1SEmmanuel Vadot * SW1[2] should be at position 2/OFF to enable 64 GB eMMC 2448cc087a1SEmmanuel Vadot * SW1[2] should be at position 3/ON to enable uSD card CN3 2458cc087a1SEmmanuel Vadot */ 2468cc087a1SEmmanuel Vadot sd0-dev-sel-hog { 2478cc087a1SEmmanuel Vadot gpio-hog; 2488cc087a1SEmmanuel Vadot gpios = <RZG2L_GPIO(41, 1) GPIO_ACTIVE_HIGH>; 2498cc087a1SEmmanuel Vadot output-high; 2508cc087a1SEmmanuel Vadot line-name = "sd0_dev_sel"; 2518cc087a1SEmmanuel Vadot }; 2528cc087a1SEmmanuel Vadot 2538cc087a1SEmmanuel Vadot sdhi0_emmc_pins: sd0emmc { 2548cc087a1SEmmanuel Vadot sd0_emmc_data { 2558cc087a1SEmmanuel Vadot pins = "SD0_DATA0", "SD0_DATA1", "SD0_DATA2", "SD0_DATA3", 2568cc087a1SEmmanuel Vadot "SD0_DATA4", "SD0_DATA5", "SD0_DATA6", "SD0_DATA7"; 2578cc087a1SEmmanuel Vadot power-source = <1800>; 2588cc087a1SEmmanuel Vadot }; 2598cc087a1SEmmanuel Vadot 2608cc087a1SEmmanuel Vadot sd0_emmc_ctrl { 2618cc087a1SEmmanuel Vadot pins = "SD0_CLK", "SD0_CMD"; 2628cc087a1SEmmanuel Vadot power-source = <1800>; 2638cc087a1SEmmanuel Vadot }; 2648cc087a1SEmmanuel Vadot 2658cc087a1SEmmanuel Vadot sd0_emmc_rst { 2668cc087a1SEmmanuel Vadot pins = "SD0_RST#"; 2678cc087a1SEmmanuel Vadot power-source = <1800>; 2688cc087a1SEmmanuel Vadot }; 2698cc087a1SEmmanuel Vadot }; 2708cc087a1SEmmanuel Vadot 2718cc087a1SEmmanuel Vadot sdhi0_pins: sd0 { 2728cc087a1SEmmanuel Vadot sd0_data { 2738cc087a1SEmmanuel Vadot pins = "SD0_DATA0", "SD0_DATA1", "SD0_DATA2", "SD0_DATA3"; 2748cc087a1SEmmanuel Vadot power-source = <3300>; 2758cc087a1SEmmanuel Vadot }; 2768cc087a1SEmmanuel Vadot 2778cc087a1SEmmanuel Vadot sd0_ctrl { 2788cc087a1SEmmanuel Vadot pins = "SD0_CLK", "SD0_CMD"; 2798cc087a1SEmmanuel Vadot power-source = <3300>; 2808cc087a1SEmmanuel Vadot }; 2818cc087a1SEmmanuel Vadot 2828cc087a1SEmmanuel Vadot sd0_mux { 2838cc087a1SEmmanuel Vadot pinmux = <RZG2L_PORT_PINMUX(47, 0, 2)>; /* SD0_CD */ 2848cc087a1SEmmanuel Vadot }; 2858cc087a1SEmmanuel Vadot }; 2868cc087a1SEmmanuel Vadot 2878cc087a1SEmmanuel Vadot sdhi0_pins_uhs: sd0_uhs { 2888cc087a1SEmmanuel Vadot sd0_data_uhs { 2898cc087a1SEmmanuel Vadot pins = "SD0_DATA0", "SD0_DATA1", "SD0_DATA2", "SD0_DATA3"; 2908cc087a1SEmmanuel Vadot power-source = <1800>; 2918cc087a1SEmmanuel Vadot }; 2928cc087a1SEmmanuel Vadot 2938cc087a1SEmmanuel Vadot sd0_ctrl_uhs { 2948cc087a1SEmmanuel Vadot pins = "SD0_CLK", "SD0_CMD"; 2958cc087a1SEmmanuel Vadot power-source = <1800>; 2968cc087a1SEmmanuel Vadot }; 2978cc087a1SEmmanuel Vadot 2988cc087a1SEmmanuel Vadot sd0_mux_uhs { 2998cc087a1SEmmanuel Vadot pinmux = <RZG2L_PORT_PINMUX(47, 0, 2)>; /* SD0_CD */ 3008cc087a1SEmmanuel Vadot }; 3018cc087a1SEmmanuel Vadot }; 3028cc087a1SEmmanuel Vadot}; 3038cc087a1SEmmanuel Vadot 304e67e8565SEmmanuel Vadot&sbc { 305e67e8565SEmmanuel Vadot pinctrl-0 = <&qspi0_pins>; 306e67e8565SEmmanuel Vadot pinctrl-names = "default"; 307e67e8565SEmmanuel Vadot status = "okay"; 308e67e8565SEmmanuel Vadot 309e67e8565SEmmanuel Vadot flash@0 { 310e67e8565SEmmanuel Vadot compatible = "micron,mt25qu512a", "jedec,spi-nor"; 311e67e8565SEmmanuel Vadot reg = <0>; 312e67e8565SEmmanuel Vadot m25p,fast-read; 313e67e8565SEmmanuel Vadot spi-max-frequency = <50000000>; 314e67e8565SEmmanuel Vadot spi-rx-bus-width = <4>; 315*8d13bc63SEmmanuel Vadot spi-tx-bus-width = <4>; 316e67e8565SEmmanuel Vadot 317e67e8565SEmmanuel Vadot partitions { 318e67e8565SEmmanuel Vadot compatible = "fixed-partitions"; 319e67e8565SEmmanuel Vadot #address-cells = <1>; 320e67e8565SEmmanuel Vadot #size-cells = <1>; 321e67e8565SEmmanuel Vadot 322e67e8565SEmmanuel Vadot boot@0 { 323e67e8565SEmmanuel Vadot reg = <0x00000000 0x2000000>; 324e67e8565SEmmanuel Vadot read-only; 325e67e8565SEmmanuel Vadot }; 326e67e8565SEmmanuel Vadot user@2000000 { 327e67e8565SEmmanuel Vadot reg = <0x2000000 0x2000000>; 328e67e8565SEmmanuel Vadot }; 329e67e8565SEmmanuel Vadot }; 330e67e8565SEmmanuel Vadot }; 331e67e8565SEmmanuel Vadot}; 332e67e8565SEmmanuel Vadot 3338cc087a1SEmmanuel Vadot#if SDHI 3348cc087a1SEmmanuel Vadot&sdhi0 { 3358cc087a1SEmmanuel Vadot pinctrl-0 = <&sdhi0_pins>; 3368cc087a1SEmmanuel Vadot pinctrl-1 = <&sdhi0_pins_uhs>; 3378cc087a1SEmmanuel Vadot pinctrl-names = "default", "state_uhs"; 3388cc087a1SEmmanuel Vadot 3398cc087a1SEmmanuel Vadot vmmc-supply = <®_3p3v>; 3408cc087a1SEmmanuel Vadot vqmmc-supply = <&vccq_sdhi0>; 3418cc087a1SEmmanuel Vadot bus-width = <4>; 3428cc087a1SEmmanuel Vadot sd-uhs-sdr50; 3438cc087a1SEmmanuel Vadot sd-uhs-sdr104; 3448cc087a1SEmmanuel Vadot status = "okay"; 3458cc087a1SEmmanuel Vadot}; 3468cc087a1SEmmanuel Vadot#endif 3478cc087a1SEmmanuel Vadot 3488cc087a1SEmmanuel Vadot#if EMMC 3498cc087a1SEmmanuel Vadot&sdhi0 { 3508cc087a1SEmmanuel Vadot pinctrl-0 = <&sdhi0_emmc_pins>; 3518cc087a1SEmmanuel Vadot pinctrl-1 = <&sdhi0_emmc_pins>; 3528cc087a1SEmmanuel Vadot pinctrl-names = "default", "state_uhs"; 3538cc087a1SEmmanuel Vadot 3548cc087a1SEmmanuel Vadot vmmc-supply = <®_3p3v>; 3558cc087a1SEmmanuel Vadot vqmmc-supply = <®_1p8v>; 3568cc087a1SEmmanuel Vadot bus-width = <8>; 3578cc087a1SEmmanuel Vadot mmc-hs200-1_8v; 3588cc087a1SEmmanuel Vadot non-removable; 3598cc087a1SEmmanuel Vadot fixed-emmc-driver-type = <1>; 3608cc087a1SEmmanuel Vadot status = "okay"; 3618cc087a1SEmmanuel Vadot}; 3628cc087a1SEmmanuel Vadot#endif 363e67e8565SEmmanuel Vadot 364e67e8565SEmmanuel Vadot&wdt0 { 365e67e8565SEmmanuel Vadot status = "okay"; 366e67e8565SEmmanuel Vadot timeout-sec = <60>; 367e67e8565SEmmanuel Vadot}; 368e67e8565SEmmanuel Vadot 369e67e8565SEmmanuel Vadot&wdt1 { 370e67e8565SEmmanuel Vadot status = "okay"; 371e67e8565SEmmanuel Vadot timeout-sec = <60>; 372e67e8565SEmmanuel Vadot}; 373