xref: /linux/arch/arm/boot/dts/nxp/mxs/imx28-duckbill-2-spi.dts (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright (C) 2015-2017 I2SE GmbH <info@i2se.com>
4*724ba675SRob Herring * Copyright (C) 2016 Michael Heimpold <mhei@heimpold.de>
5*724ba675SRob Herring */
6*724ba675SRob Herring
7*724ba675SRob Herring/dts-v1/;
8*724ba675SRob Herring#include "imx28-duckbill-2.dts"
9*724ba675SRob Herring
10*724ba675SRob Herring/ {
11*724ba675SRob Herring	model = "I2SE Duckbill 2 SPI";
12*724ba675SRob Herring	compatible = "i2se,duckbill-2-spi", "i2se,duckbill-2", "fsl,imx28";
13*724ba675SRob Herring
14*724ba675SRob Herring	aliases {
15*724ba675SRob Herring		ethernet1 = &qca7000;
16*724ba675SRob Herring	};
17*724ba675SRob Herring};
18*724ba675SRob Herring
19*724ba675SRob Herring&auart0 {
20*724ba675SRob Herring	status = "disabled";
21*724ba675SRob Herring};
22*724ba675SRob Herring
23*724ba675SRob Herring&i2c0 {
24*724ba675SRob Herring	status = "disabled";
25*724ba675SRob Herring};
26*724ba675SRob Herring
27*724ba675SRob Herring&pinctrl {
28*724ba675SRob Herring	qca7000_pins: qca7000@0 {
29*724ba675SRob Herring		reg = <0>;
30*724ba675SRob Herring		fsl,pinmux-ids = <
31*724ba675SRob Herring			MX28_PAD_AUART0_RTS__GPIO_3_3    /* Interrupt */
32*724ba675SRob Herring			MX28_PAD_LCD_D13__GPIO_1_13      /* QCA7K reset */
33*724ba675SRob Herring			MX28_PAD_LCD_D14__GPIO_1_14      /* GPIO 0 */
34*724ba675SRob Herring			MX28_PAD_LCD_D15__GPIO_1_15      /* GPIO 1 */
35*724ba675SRob Herring			MX28_PAD_LCD_D18__GPIO_1_18      /* GPIO 2 */
36*724ba675SRob Herring			MX28_PAD_LCD_D21__GPIO_1_21      /* GPIO 3 */
37*724ba675SRob Herring		>;
38*724ba675SRob Herring		fsl,drive-strength = <MXS_DRIVE_4mA>;
39*724ba675SRob Herring		fsl,voltage = <MXS_VOLTAGE_HIGH>;
40*724ba675SRob Herring		fsl,pull-up = <MXS_PULL_DISABLE>;
41*724ba675SRob Herring	};
42*724ba675SRob Herring};
43*724ba675SRob Herring
44*724ba675SRob Herring&ssp2 {
45*724ba675SRob Herring	compatible = "fsl,imx28-spi";
46*724ba675SRob Herring	pinctrl-names = "default";
47*724ba675SRob Herring	pinctrl-0 = <&spi2_pins_a>;
48*724ba675SRob Herring	/delete-property/ bus-width;
49*724ba675SRob Herring	/delete-property/ vmmc-supply;
50*724ba675SRob Herring	status = "okay";
51*724ba675SRob Herring
52*724ba675SRob Herring	qca7000: ethernet@0 {
53*724ba675SRob Herring		reg = <0>;
54*724ba675SRob Herring		compatible = "qca,qca7000";
55*724ba675SRob Herring		pinctrl-names = "default";
56*724ba675SRob Herring		pinctrl-0 = <&qca7000_pins>;
57*724ba675SRob Herring		interrupt-parent = <&gpio3>;
58*724ba675SRob Herring		interrupts = <3 IRQ_TYPE_EDGE_RISING>;
59*724ba675SRob Herring		spi-cpha;
60*724ba675SRob Herring		spi-cpol;
61*724ba675SRob Herring		spi-max-frequency = <8000000>;
62*724ba675SRob Herring	};
63*724ba675SRob Herring};
64