1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Copyright 2021 Collabora Ltd.
4 * Copyright 2021 BSH Hausgeraete GmbH
5 */
6
7/dts-v1/;
8
9#include "imx8mn-bsh-smm-s2-common.dtsi"
10
11/ {
12	model = "BSH SMM S2 PRO";
13	compatible = "bsh,imx8mn-bsh-smm-s2pro", "fsl,imx8mn";
14
15	memory@40000000 {
16		device_type = "memory";
17		reg = <0x0 0x40000000 0x0 0x20000000>;
18	};
19};
20
21/* eMMC */
22&usdhc1 {
23	pinctrl-names = "default", "state_100mhz", "state_200mhz";
24	pinctrl-0 = <&pinctrl_usdhc1>;
25	pinctrl-1 = <&pinctrl_usdhc1_100mhz>;
26	pinctrl-2 = <&pinctrl_usdhc1_200mhz>;
27	bus-width = <8>;
28	non-removable;
29	status = "okay";
30};
31
32&iomuxc {
33	pinctrl_usdhc1: usdhc1grp {
34		fsl,pins = <
35			MX8MN_IOMUXC_SD1_CLK_USDHC1_CLK			0x40000090
36			MX8MN_IOMUXC_SD1_CMD_USDHC1_CMD			0x0d0
37			MX8MN_IOMUXC_SD1_DATA0_USDHC1_DATA0		0x0d0
38			MX8MN_IOMUXC_SD1_DATA1_USDHC1_DATA1		0x0d0
39			MX8MN_IOMUXC_SD1_DATA2_USDHC1_DATA2		0x0d0
40			MX8MN_IOMUXC_SD1_DATA3_USDHC1_DATA3		0x0d0
41			MX8MN_IOMUXC_SD1_DATA4_USDHC1_DATA4		0x0d0
42			MX8MN_IOMUXC_SD1_DATA5_USDHC1_DATA5		0x0d0
43			MX8MN_IOMUXC_SD1_DATA6_USDHC1_DATA6		0x0d0
44			MX8MN_IOMUXC_SD1_DATA7_USDHC1_DATA7		0x0d0
45			MX8MN_IOMUXC_SD1_STROBE_USDHC1_STROBE		0x090
46		>;
47	};
48
49	pinctrl_usdhc1_100mhz: usdhc1grp100mhz {
50		fsl,pins = <
51			MX8MN_IOMUXC_SD1_CLK_USDHC1_CLK			0x40000094
52			MX8MN_IOMUXC_SD1_CMD_USDHC1_CMD			0x0d4
53			MX8MN_IOMUXC_SD1_DATA0_USDHC1_DATA0		0x0d4
54			MX8MN_IOMUXC_SD1_DATA1_USDHC1_DATA1		0x0d4
55			MX8MN_IOMUXC_SD1_DATA2_USDHC1_DATA2		0x0d4
56			MX8MN_IOMUXC_SD1_DATA3_USDHC1_DATA3		0x0d4
57			MX8MN_IOMUXC_SD1_DATA4_USDHC1_DATA4		0x0d4
58			MX8MN_IOMUXC_SD1_DATA5_USDHC1_DATA5		0x0d4
59			MX8MN_IOMUXC_SD1_DATA6_USDHC1_DATA6		0x0d4
60			MX8MN_IOMUXC_SD1_DATA7_USDHC1_DATA7		0x0d4
61			MX8MN_IOMUXC_SD1_STROBE_USDHC1_STROBE		0x094
62		>;
63	};
64
65	pinctrl_usdhc1_200mhz: usdhc1grp200mhz {
66		fsl,pins = <
67			MX8MN_IOMUXC_SD1_CLK_USDHC1_CLK			0x40000096
68			MX8MN_IOMUXC_SD1_CMD_USDHC1_CMD			0x0d6
69			MX8MN_IOMUXC_SD1_DATA0_USDHC1_DATA0		0x0d6
70			MX8MN_IOMUXC_SD1_DATA1_USDHC1_DATA1		0x0d6
71			MX8MN_IOMUXC_SD1_DATA2_USDHC1_DATA2		0x0d6
72			MX8MN_IOMUXC_SD1_DATA3_USDHC1_DATA3		0x0d6
73			MX8MN_IOMUXC_SD1_DATA4_USDHC1_DATA4		0x0d6
74			MX8MN_IOMUXC_SD1_DATA5_USDHC1_DATA5		0x0d6
75			MX8MN_IOMUXC_SD1_DATA6_USDHC1_DATA6		0x0d6
76			MX8MN_IOMUXC_SD1_DATA7_USDHC1_DATA7		0x0d6
77			MX8MN_IOMUXC_SD1_STROBE_USDHC1_STROBE		0x096
78		>;
79	};
80};
81