1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0 OR MIT) 2f126890aSEmmanuel Vadot/* 3f126890aSEmmanuel Vadot * Copyright (C) 2021 BSH Hausgeraete GmbH 4f126890aSEmmanuel Vadot */ 5f126890aSEmmanuel Vadot 6f126890aSEmmanuel Vadot/dts-v1/; 7f126890aSEmmanuel Vadot 8f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h> 9f126890aSEmmanuel Vadot#include "imx6ulz.dtsi" 10f126890aSEmmanuel Vadot 11f126890aSEmmanuel Vadot/ { 12f126890aSEmmanuel Vadot model = "BSH SMM M2"; 13f126890aSEmmanuel Vadot compatible = "bsh,imx6ulz-bsh-smm-m2", "fsl,imx6ull", "fsl,imx6ulz"; 14f126890aSEmmanuel Vadot 15f126890aSEmmanuel Vadot chosen { 16f126890aSEmmanuel Vadot stdout-path = &uart4; 17f126890aSEmmanuel Vadot }; 18f126890aSEmmanuel Vadot 19f126890aSEmmanuel Vadot usdhc2_pwrseq: usdhc2-pwrseq { 20f126890aSEmmanuel Vadot compatible = "mmc-pwrseq-simple"; 21f126890aSEmmanuel Vadot reset-gpios = <&gpio2 21 GPIO_ACTIVE_LOW>; 22f126890aSEmmanuel Vadot }; 23f126890aSEmmanuel Vadot}; 24f126890aSEmmanuel Vadot 25f126890aSEmmanuel Vadot&gpmi { 26f126890aSEmmanuel Vadot pinctrl-names = "default"; 27f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_gpmi_nand>; 28f126890aSEmmanuel Vadot nand-on-flash-bbt; 29f126890aSEmmanuel Vadot status = "okay"; 30f126890aSEmmanuel Vadot}; 31f126890aSEmmanuel Vadot 32f126890aSEmmanuel Vadot&snvs_poweroff { 33f126890aSEmmanuel Vadot status = "okay"; 34f126890aSEmmanuel Vadot}; 35f126890aSEmmanuel Vadot 36f126890aSEmmanuel Vadot&uart3 { 37f126890aSEmmanuel Vadot pinctrl-names = "default"; 38f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart3>; 39f126890aSEmmanuel Vadot uart-has-rtscts; 40f126890aSEmmanuel Vadot status = "okay"; 41f126890aSEmmanuel Vadot 42f126890aSEmmanuel Vadot bluetooth { 43f126890aSEmmanuel Vadot compatible = "brcm,bcm4330-bt"; 44f126890aSEmmanuel Vadot max-speed = <3000000>; 45f126890aSEmmanuel Vadot shutdown-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>; 46f126890aSEmmanuel Vadot device-wakeup-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>; 47f126890aSEmmanuel Vadot host-wakeup-gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>; 48f126890aSEmmanuel Vadot }; 49f126890aSEmmanuel Vadot}; 50f126890aSEmmanuel Vadot 51f126890aSEmmanuel Vadot&uart4 { 52f126890aSEmmanuel Vadot pinctrl-names = "default"; 53f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_uart4>; 54f126890aSEmmanuel Vadot status = "okay"; 55f126890aSEmmanuel Vadot}; 56f126890aSEmmanuel Vadot 57f126890aSEmmanuel Vadot&usbotg1 { 58f126890aSEmmanuel Vadot dr_mode = "peripheral"; 59f126890aSEmmanuel Vadot srp-disable; 60f126890aSEmmanuel Vadot hnp-disable; 61f126890aSEmmanuel Vadot adp-disable; 62f126890aSEmmanuel Vadot status = "okay"; 63f126890aSEmmanuel Vadot}; 64f126890aSEmmanuel Vadot 65f126890aSEmmanuel Vadot&usbphy1 { 66f126890aSEmmanuel Vadot fsl,tx-d-cal = <106>; 67f126890aSEmmanuel Vadot}; 68f126890aSEmmanuel Vadot 69f126890aSEmmanuel Vadot&usdhc2 { 70f126890aSEmmanuel Vadot #address-cells = <1>; 71f126890aSEmmanuel Vadot #size-cells = <0>; 72f126890aSEmmanuel Vadot pinctrl-names = "default"; 73f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_wlan>; 74f126890aSEmmanuel Vadot bus-width = <4>; 75f126890aSEmmanuel Vadot no-1-8-v; 76f126890aSEmmanuel Vadot non-removable; 77f126890aSEmmanuel Vadot cap-power-off-card; 78f126890aSEmmanuel Vadot keep-power-in-suspend; 79f126890aSEmmanuel Vadot cap-sdio-irq; 80f126890aSEmmanuel Vadot mmc-pwrseq = <&usdhc2_pwrseq>; 81f126890aSEmmanuel Vadot status = "okay"; 82f126890aSEmmanuel Vadot 83f126890aSEmmanuel Vadot brcmf: wifi@1 { 84f126890aSEmmanuel Vadot reg = <1>; 85f126890aSEmmanuel Vadot compatible = "brcm,bcm4329-fmac"; 86f126890aSEmmanuel Vadot interrupt-parent = <&gpio1>; 87f126890aSEmmanuel Vadot interrupts = <18 IRQ_TYPE_LEVEL_HIGH>; 88f126890aSEmmanuel Vadot interrupt-names = "host-wake"; 89f126890aSEmmanuel Vadot }; 90f126890aSEmmanuel Vadot}; 91f126890aSEmmanuel Vadot 92f126890aSEmmanuel Vadot&wdog1 { 93f126890aSEmmanuel Vadot status = "okay"; 94f126890aSEmmanuel Vadot}; 95f126890aSEmmanuel Vadot 96f126890aSEmmanuel Vadot&iomuxc { 97*b2d2a78aSEmmanuel Vadot pinctrl_gpmi_nand: gpminandgrp { 98f126890aSEmmanuel Vadot fsl,pins = < 99f126890aSEmmanuel Vadot MX6UL_PAD_NAND_CLE__RAWNAND_CLE 0xb0b1 100f126890aSEmmanuel Vadot MX6UL_PAD_NAND_ALE__RAWNAND_ALE 0xb0b1 101f126890aSEmmanuel Vadot MX6UL_PAD_NAND_WP_B__RAWNAND_WP_B 0xb0b1 102f126890aSEmmanuel Vadot MX6UL_PAD_NAND_READY_B__RAWNAND_READY_B 0xb000 103f126890aSEmmanuel Vadot MX6UL_PAD_NAND_CE0_B__RAWNAND_CE0_B 0xb0b1 104f126890aSEmmanuel Vadot MX6UL_PAD_NAND_RE_B__RAWNAND_RE_B 0xb0b1 105f126890aSEmmanuel Vadot MX6UL_PAD_NAND_WE_B__RAWNAND_WE_B 0xb0b1 106f126890aSEmmanuel Vadot MX6UL_PAD_NAND_DATA00__RAWNAND_DATA00 0xb0b1 107f126890aSEmmanuel Vadot MX6UL_PAD_NAND_DATA01__RAWNAND_DATA01 0xb0b1 108f126890aSEmmanuel Vadot MX6UL_PAD_NAND_DATA02__RAWNAND_DATA02 0xb0b1 109f126890aSEmmanuel Vadot MX6UL_PAD_NAND_DATA03__RAWNAND_DATA03 0xb0b1 110f126890aSEmmanuel Vadot MX6UL_PAD_NAND_DATA04__RAWNAND_DATA04 0xb0b1 111f126890aSEmmanuel Vadot MX6UL_PAD_NAND_DATA05__RAWNAND_DATA05 0xb0b1 112f126890aSEmmanuel Vadot MX6UL_PAD_NAND_DATA06__RAWNAND_DATA06 0xb0b1 113f126890aSEmmanuel Vadot MX6UL_PAD_NAND_DATA07__RAWNAND_DATA07 0xb0b1 114f126890aSEmmanuel Vadot >; 115f126890aSEmmanuel Vadot }; 116f126890aSEmmanuel Vadot 117f126890aSEmmanuel Vadot pinctrl_uart3: uart3grp { 118f126890aSEmmanuel Vadot fsl,pins = < 119f126890aSEmmanuel Vadot MX6UL_PAD_UART3_TX_DATA__UART3_DCE_TX 0x1b0b1 120f126890aSEmmanuel Vadot MX6UL_PAD_UART3_RX_DATA__UART3_DCE_RX 0x1b099 121f126890aSEmmanuel Vadot MX6UL_PAD_UART3_RTS_B__UART3_DCE_RTS 0x1b0b1 122f126890aSEmmanuel Vadot MX6UL_PAD_UART3_CTS_B__UART3_DCE_CTS 0x1b099 123f126890aSEmmanuel Vadot MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0x79 /* BT_REG_ON */ 124f126890aSEmmanuel Vadot MX6UL_PAD_SD1_CLK__GPIO2_IO17 0x100b1 /* BT_DEV_WAKE out */ 125f126890aSEmmanuel Vadot MX6UL_PAD_ENET2_TX_EN__GPIO2_IO13 0x1b0b0 /* BT_HOST_WAKE in */ 126f126890aSEmmanuel Vadot >; 127f126890aSEmmanuel Vadot }; 128f126890aSEmmanuel Vadot 129f126890aSEmmanuel Vadot pinctrl_uart4: uart4grp { 130f126890aSEmmanuel Vadot fsl,pins = < 131f126890aSEmmanuel Vadot MX6UL_PAD_UART4_TX_DATA__UART4_DCE_TX 0x1b0b1 132f126890aSEmmanuel Vadot MX6UL_PAD_UART4_RX_DATA__UART4_DCE_RX 0x1b0b1 133f126890aSEmmanuel Vadot >; 134f126890aSEmmanuel Vadot }; 135f126890aSEmmanuel Vadot 136f126890aSEmmanuel Vadot pinctrl_wlan: wlangrp { 137f126890aSEmmanuel Vadot fsl,pins = < 138f126890aSEmmanuel Vadot MX6UL_PAD_CSI_HSYNC__USDHC2_CMD 0x17059 139f126890aSEmmanuel Vadot MX6UL_PAD_CSI_VSYNC__USDHC2_CLK 0x10059 140f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA00__USDHC2_DATA0 0x17059 141f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA01__USDHC2_DATA1 0x17059 142f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA02__USDHC2_DATA2 0x17059 143f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA03__USDHC2_DATA3 0x17059 144f126890aSEmmanuel Vadot MX6UL_PAD_SD1_DATA3__GPIO2_IO21 0x79 /* WL_REG_ON */ 145f126890aSEmmanuel Vadot MX6UL_PAD_UART2_CTS_B__GPIO1_IO22 0x100b1 /* WL_DEV_WAKE - WiFi_GPIO_4 - WiFi FW UART */ 146f126890aSEmmanuel Vadot MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x1b0b1 /* WL_HOST_WAKE - WIFI_GPIO_0 - OOB IRQ */ 147f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_RX_EN__OSC32K_32K_OUT 0x4001b031 /* OSC 32Khz wifi clk in */ 148f126890aSEmmanuel Vadot >; 149f126890aSEmmanuel Vadot }; 150f126890aSEmmanuel Vadot}; 151