1fdea904eSAisheng Dong// SPDX-License-Identifier: GPL-2.0+ 2fdea904eSAisheng Dong/* 3fdea904eSAisheng Dong * Copyright 2017~2018 NXP 4fdea904eSAisheng Dong */ 5fdea904eSAisheng Dong 6fdea904eSAisheng Dong/dts-v1/; 7fdea904eSAisheng Dong 8fdea904eSAisheng Dong#include "imx8qxp.dtsi" 9fdea904eSAisheng Dong 10fdea904eSAisheng Dong/ { 11fdea904eSAisheng Dong model = "Freescale i.MX8QXP MEK"; 12fdea904eSAisheng Dong compatible = "fsl,imx8qxp-mek", "fsl,imx8qxp"; 13fdea904eSAisheng Dong 14fdea904eSAisheng Dong chosen { 15fdea904eSAisheng Dong stdout-path = &adma_lpuart0; 16fdea904eSAisheng Dong }; 17fdea904eSAisheng Dong 18fdea904eSAisheng Dong memory@80000000 { 19fdea904eSAisheng Dong device_type = "memory"; 20fdea904eSAisheng Dong reg = <0x00000000 0x80000000 0 0x40000000>; 21fdea904eSAisheng Dong }; 22fdea904eSAisheng Dong 23fdea904eSAisheng Dong reg_usdhc2_vmmc: usdhc2-vmmc { 24fdea904eSAisheng Dong compatible = "regulator-fixed"; 25fdea904eSAisheng Dong regulator-name = "SD1_SPWR"; 26fdea904eSAisheng Dong regulator-min-microvolt = <3000000>; 27fdea904eSAisheng Dong regulator-max-microvolt = <3000000>; 28fdea904eSAisheng Dong gpio = <&lsio_gpio4 19 GPIO_ACTIVE_HIGH>; 29fdea904eSAisheng Dong enable-active-high; 30fdea904eSAisheng Dong }; 31fdea904eSAisheng Dong}; 32fdea904eSAisheng Dong 33fdea904eSAisheng Dong&adma_lpuart0 { 34fdea904eSAisheng Dong pinctrl-names = "default"; 35fdea904eSAisheng Dong pinctrl-0 = <&pinctrl_lpuart0>; 36fdea904eSAisheng Dong status = "okay"; 37fdea904eSAisheng Dong}; 38fdea904eSAisheng Dong 39fdea904eSAisheng Dong&fec1 { 40fdea904eSAisheng Dong pinctrl-names = "default"; 41fdea904eSAisheng Dong pinctrl-0 = <&pinctrl_fec1>; 42fdea904eSAisheng Dong phy-mode = "rgmii-id"; 43fdea904eSAisheng Dong phy-handle = <ðphy0>; 44fdea904eSAisheng Dong fsl,magic-packet; 45fdea904eSAisheng Dong status = "okay"; 46fdea904eSAisheng Dong 47fdea904eSAisheng Dong mdio { 48fdea904eSAisheng Dong #address-cells = <1>; 49fdea904eSAisheng Dong #size-cells = <0>; 50fdea904eSAisheng Dong 51fdea904eSAisheng Dong ethphy0: ethernet-phy@0 { 52fdea904eSAisheng Dong compatible = "ethernet-phy-ieee802.3-c22"; 53fdea904eSAisheng Dong reg = <0>; 54fdea904eSAisheng Dong }; 55fdea904eSAisheng Dong 56fdea904eSAisheng Dong ethphy1: ethernet-phy@1 { 57fdea904eSAisheng Dong compatible = "ethernet-phy-ieee802.3-c22"; 58fdea904eSAisheng Dong reg = <1>; 59fdea904eSAisheng Dong }; 60fdea904eSAisheng Dong }; 61fdea904eSAisheng Dong}; 62fdea904eSAisheng Dong 637b2ac489SLeonard Crestez&adma_i2c1 { 647b2ac489SLeonard Crestez #address-cells = <1>; 657b2ac489SLeonard Crestez #size-cells = <0>; 667b2ac489SLeonard Crestez clock-frequency = <100000>; 677b2ac489SLeonard Crestez pinctrl-names = "default"; 687b2ac489SLeonard Crestez pinctrl-0 = <&pinctrl_lpi2c1 &pinctrl_ioexp_rst>; 697b2ac489SLeonard Crestez status = "okay"; 707b2ac489SLeonard Crestez 717b2ac489SLeonard Crestez i2c-switch@71 { 727b2ac489SLeonard Crestez compatible = "nxp,pca9646", "nxp,pca9546"; 737b2ac489SLeonard Crestez #address-cells = <1>; 747b2ac489SLeonard Crestez #size-cells = <0>; 757b2ac489SLeonard Crestez reg = <0x71>; 767b2ac489SLeonard Crestez reset-gpios = <&lsio_gpio1 1 GPIO_ACTIVE_LOW>; 777b2ac489SLeonard Crestez 787b2ac489SLeonard Crestez i2c@0 { 797b2ac489SLeonard Crestez #address-cells = <1>; 807b2ac489SLeonard Crestez #size-cells = <0>; 817b2ac489SLeonard Crestez reg = <0>; 827b2ac489SLeonard Crestez 837b2ac489SLeonard Crestez max7322: gpio@68 { 847b2ac489SLeonard Crestez compatible = "maxim,max7322"; 857b2ac489SLeonard Crestez reg = <0x68>; 867b2ac489SLeonard Crestez gpio-controller; 877b2ac489SLeonard Crestez #gpio-cells = <2>; 887b2ac489SLeonard Crestez }; 897b2ac489SLeonard Crestez }; 907b2ac489SLeonard Crestez 917b2ac489SLeonard Crestez i2c@1 { 927b2ac489SLeonard Crestez #address-cells = <1>; 937b2ac489SLeonard Crestez #size-cells = <0>; 947b2ac489SLeonard Crestez reg = <1>; 957b2ac489SLeonard Crestez }; 967b2ac489SLeonard Crestez 977b2ac489SLeonard Crestez i2c@2 { 987b2ac489SLeonard Crestez #address-cells = <1>; 997b2ac489SLeonard Crestez #size-cells = <0>; 1007b2ac489SLeonard Crestez reg = <2>; 1017b2ac489SLeonard Crestez 1027b2ac489SLeonard Crestez pressure-sensor@60 { 1037b2ac489SLeonard Crestez compatible = "fsl,mpl3115"; 1047b2ac489SLeonard Crestez reg = <0x60>; 1057b2ac489SLeonard Crestez }; 1067b2ac489SLeonard Crestez }; 1077b2ac489SLeonard Crestez 1087b2ac489SLeonard Crestez i2c@3 { 1097b2ac489SLeonard Crestez #address-cells = <1>; 1107b2ac489SLeonard Crestez #size-cells = <0>; 1117b2ac489SLeonard Crestez reg = <3>; 1127b2ac489SLeonard Crestez 1137b2ac489SLeonard Crestez pca9557_a: gpio@1a { 1147b2ac489SLeonard Crestez compatible = "nxp,pca9557"; 1157b2ac489SLeonard Crestez reg = <0x1a>; 1167b2ac489SLeonard Crestez gpio-controller; 1177b2ac489SLeonard Crestez #gpio-cells = <2>; 1187b2ac489SLeonard Crestez }; 1197b2ac489SLeonard Crestez 1207b2ac489SLeonard Crestez pca9557_b: gpio@1d { 1217b2ac489SLeonard Crestez compatible = "nxp,pca9557"; 1227b2ac489SLeonard Crestez reg = <0x1d>; 1237b2ac489SLeonard Crestez gpio-controller; 1247b2ac489SLeonard Crestez #gpio-cells = <2>; 1257b2ac489SLeonard Crestez }; 1267b2ac489SLeonard Crestez 1277b2ac489SLeonard Crestez light-sensor@44 { 1287b2ac489SLeonard Crestez pinctrl-names = "default"; 1297b2ac489SLeonard Crestez pinctrl-0 = <&pinctrl_isl29023>; 1307b2ac489SLeonard Crestez compatible = "isil,isl29023"; 1317b2ac489SLeonard Crestez reg = <0x44>; 1327b2ac489SLeonard Crestez interrupt-parent = <&lsio_gpio1>; 1337b2ac489SLeonard Crestez interrupts = <2 IRQ_TYPE_EDGE_FALLING>; 1347b2ac489SLeonard Crestez }; 1357b2ac489SLeonard Crestez }; 1367b2ac489SLeonard Crestez }; 1377b2ac489SLeonard Crestez}; 1387b2ac489SLeonard Crestez 139fdea904eSAisheng Dong&usdhc1 { 140*3944b454SAnson Huang assigned-clocks = <&clk IMX_CONN_SDHC0_CLK>; 141*3944b454SAnson Huang assigned-clock-rates = <200000000>; 142fdea904eSAisheng Dong pinctrl-names = "default"; 143fdea904eSAisheng Dong pinctrl-0 = <&pinctrl_usdhc1>; 144fdea904eSAisheng Dong bus-width = <8>; 145fdea904eSAisheng Dong no-sd; 146fdea904eSAisheng Dong no-sdio; 147fdea904eSAisheng Dong non-removable; 148fdea904eSAisheng Dong status = "okay"; 149fdea904eSAisheng Dong}; 150fdea904eSAisheng Dong 151fdea904eSAisheng Dong&usdhc2 { 152*3944b454SAnson Huang assigned-clocks = <&clk IMX_CONN_SDHC1_CLK>; 153*3944b454SAnson Huang assigned-clock-rates = <200000000>; 154fdea904eSAisheng Dong pinctrl-names = "default"; 155fdea904eSAisheng Dong pinctrl-0 = <&pinctrl_usdhc2>; 156fdea904eSAisheng Dong bus-width = <4>; 157fdea904eSAisheng Dong vmmc-supply = <®_usdhc2_vmmc>; 158fdea904eSAisheng Dong cd-gpios = <&lsio_gpio4 22 GPIO_ACTIVE_LOW>; 159fdea904eSAisheng Dong wp-gpios = <&lsio_gpio4 21 GPIO_ACTIVE_HIGH>; 160fdea904eSAisheng Dong status = "okay"; 161fdea904eSAisheng Dong}; 162fdea904eSAisheng Dong 163fdea904eSAisheng Dong&iomuxc { 164fdea904eSAisheng Dong pinctrl_fec1: fec1grp { 165fdea904eSAisheng Dong fsl,pins = < 166fdea904eSAisheng Dong IMX8QXP_ENET0_MDC_CONN_ENET0_MDC 0x06000020 167fdea904eSAisheng Dong IMX8QXP_ENET0_MDIO_CONN_ENET0_MDIO 0x06000020 168fdea904eSAisheng Dong IMX8QXP_ENET0_RGMII_TX_CTL_CONN_ENET0_RGMII_TX_CTL 0x06000020 169fdea904eSAisheng Dong IMX8QXP_ENET0_RGMII_TXC_CONN_ENET0_RGMII_TXC 0x06000020 170fdea904eSAisheng Dong IMX8QXP_ENET0_RGMII_TXD0_CONN_ENET0_RGMII_TXD0 0x06000020 171fdea904eSAisheng Dong IMX8QXP_ENET0_RGMII_TXD1_CONN_ENET0_RGMII_TXD1 0x06000020 172fdea904eSAisheng Dong IMX8QXP_ENET0_RGMII_TXD2_CONN_ENET0_RGMII_TXD2 0x06000020 173fdea904eSAisheng Dong IMX8QXP_ENET0_RGMII_TXD3_CONN_ENET0_RGMII_TXD3 0x06000020 174fdea904eSAisheng Dong IMX8QXP_ENET0_RGMII_RXC_CONN_ENET0_RGMII_RXC 0x06000020 175fdea904eSAisheng Dong IMX8QXP_ENET0_RGMII_RX_CTL_CONN_ENET0_RGMII_RX_CTL 0x06000020 176fdea904eSAisheng Dong IMX8QXP_ENET0_RGMII_RXD0_CONN_ENET0_RGMII_RXD0 0x06000020 177fdea904eSAisheng Dong IMX8QXP_ENET0_RGMII_RXD1_CONN_ENET0_RGMII_RXD1 0x06000020 178fdea904eSAisheng Dong IMX8QXP_ENET0_RGMII_RXD2_CONN_ENET0_RGMII_RXD2 0x06000020 179fdea904eSAisheng Dong IMX8QXP_ENET0_RGMII_RXD3_CONN_ENET0_RGMII_RXD3 0x06000020 180fdea904eSAisheng Dong >; 181fdea904eSAisheng Dong }; 182fdea904eSAisheng Dong 1837b2ac489SLeonard Crestez pinctrl_ioexp_rst: ioexp_rst_grp { 1847b2ac489SLeonard Crestez fsl,pins = < 1857b2ac489SLeonard Crestez IMX8QXP_SPI2_SDO_LSIO_GPIO1_IO01 0x06000021 1867b2ac489SLeonard Crestez >; 1877b2ac489SLeonard Crestez }; 1887b2ac489SLeonard Crestez 1897b2ac489SLeonard Crestez pinctrl_isl29023: isl29023grp { 1907b2ac489SLeonard Crestez fsl,pins = < 1917b2ac489SLeonard Crestez IMX8QXP_SPI2_SDI_LSIO_GPIO1_IO02 0x00000021 1927b2ac489SLeonard Crestez >; 1937b2ac489SLeonard Crestez }; 1947b2ac489SLeonard Crestez 1957b2ac489SLeonard Crestez pinctrl_lpi2c1: lpi2c1grp { 1967b2ac489SLeonard Crestez fsl,pins = < 1977b2ac489SLeonard Crestez IMX8QXP_USB_SS3_TC1_ADMA_I2C1_SCL 0x06000021 1987b2ac489SLeonard Crestez IMX8QXP_USB_SS3_TC3_ADMA_I2C1_SDA 0x06000021 1997b2ac489SLeonard Crestez >; 2007b2ac489SLeonard Crestez }; 2017b2ac489SLeonard Crestez 202fdea904eSAisheng Dong pinctrl_lpuart0: lpuart0grp { 203fdea904eSAisheng Dong fsl,pins = < 204fdea904eSAisheng Dong IMX8QXP_UART0_RX_ADMA_UART0_RX 0x06000020 205fdea904eSAisheng Dong IMX8QXP_UART0_TX_ADMA_UART0_TX 0x06000020 206fdea904eSAisheng Dong >; 207fdea904eSAisheng Dong }; 208fdea904eSAisheng Dong 209fdea904eSAisheng Dong pinctrl_usdhc1: usdhc1grp { 210fdea904eSAisheng Dong fsl,pins = < 211fdea904eSAisheng Dong IMX8QXP_EMMC0_CLK_CONN_EMMC0_CLK 0x06000041 212fdea904eSAisheng Dong IMX8QXP_EMMC0_CMD_CONN_EMMC0_CMD 0x00000021 213fdea904eSAisheng Dong IMX8QXP_EMMC0_DATA0_CONN_EMMC0_DATA0 0x00000021 214fdea904eSAisheng Dong IMX8QXP_EMMC0_DATA1_CONN_EMMC0_DATA1 0x00000021 215fdea904eSAisheng Dong IMX8QXP_EMMC0_DATA2_CONN_EMMC0_DATA2 0x00000021 216fdea904eSAisheng Dong IMX8QXP_EMMC0_DATA3_CONN_EMMC0_DATA3 0x00000021 217fdea904eSAisheng Dong IMX8QXP_EMMC0_DATA4_CONN_EMMC0_DATA4 0x00000021 218fdea904eSAisheng Dong IMX8QXP_EMMC0_DATA5_CONN_EMMC0_DATA5 0x00000021 219fdea904eSAisheng Dong IMX8QXP_EMMC0_DATA6_CONN_EMMC0_DATA6 0x00000021 220fdea904eSAisheng Dong IMX8QXP_EMMC0_DATA7_CONN_EMMC0_DATA7 0x00000021 221fdea904eSAisheng Dong IMX8QXP_EMMC0_STROBE_CONN_EMMC0_STROBE 0x00000041 222fdea904eSAisheng Dong >; 223fdea904eSAisheng Dong }; 224fdea904eSAisheng Dong 225fdea904eSAisheng Dong pinctrl_usdhc2: usdhc2grp { 226fdea904eSAisheng Dong fsl,pins = < 227fdea904eSAisheng Dong IMX8QXP_USDHC1_CLK_CONN_USDHC1_CLK 0x06000041 228fdea904eSAisheng Dong IMX8QXP_USDHC1_CMD_CONN_USDHC1_CMD 0x00000021 229fdea904eSAisheng Dong IMX8QXP_USDHC1_DATA0_CONN_USDHC1_DATA0 0x00000021 230fdea904eSAisheng Dong IMX8QXP_USDHC1_DATA1_CONN_USDHC1_DATA1 0x00000021 231fdea904eSAisheng Dong IMX8QXP_USDHC1_DATA2_CONN_USDHC1_DATA2 0x00000021 232fdea904eSAisheng Dong IMX8QXP_USDHC1_DATA3_CONN_USDHC1_DATA3 0x00000021 233fdea904eSAisheng Dong IMX8QXP_USDHC1_VSELECT_CONN_USDHC1_VSELECT 0x00000021 234fdea904eSAisheng Dong >; 235fdea904eSAisheng Dong }; 236fdea904eSAisheng Dong}; 237cd42fa17SDaniel Baluta 238cd42fa17SDaniel Baluta&adma_dsp { 239cd42fa17SDaniel Baluta status = "okay"; 240cd42fa17SDaniel Baluta}; 241e0cb59bdSAnson Huang 242e0cb59bdSAnson Huang&scu_key { 243e0cb59bdSAnson Huang status = "okay"; 244e0cb59bdSAnson Huang}; 245