Debian Codegraph @

arch/arm/boot/dts/nxp/mxs/imx28-duckbill-2-spi.dts

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