xref: /linux/arch/arm/boot/dts/nxp/imx/imx6ull-tarragon-slavext.dts (revision 621cde16e49b3ecf7d59a8106a20aaebfb4a59a9)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 OR MIT
2724ba675SRob Herring//
3724ba675SRob Herring// Copyright (C) 2023 chargebyte GmbH
4724ba675SRob Herring
5724ba675SRob Herring#include "imx6ull-tarragon-common.dtsi"
6724ba675SRob Herring
7724ba675SRob Herring/ {
8724ba675SRob Herring	model = "chargebyte Tarragon SlaveXT";
9724ba675SRob Herring	compatible = "chargebyte,imx6ull-tarragon-slavext", "fsl,imx6ull";
10724ba675SRob Herring
11724ba675SRob Herring	fan0: pwm-fan {
12724ba675SRob Herring		compatible = "pwm-fan";
13724ba675SRob Herring		pwms = <&pwm7 0 40000 PWM_POLARITY_INVERTED>;
14724ba675SRob Herring		pinctrl-names = "default";
15724ba675SRob Herring		pinctrl-0 = <&pinctrl_fan_sense_snvs>;
16724ba675SRob Herring		fan-supply = <&reg_fan>;
17724ba675SRob Herring		interrupt-parent = <&gpio5>;
18724ba675SRob Herring		interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
19724ba675SRob Herring	};
20724ba675SRob Herring
21724ba675SRob Herring	reg_fan: regulator {
22724ba675SRob Herring		compatible = "regulator-fixed";
23724ba675SRob Herring		regulator-name = "fan-supply";
24724ba675SRob Herring		pinctrl-names = "default";
25724ba675SRob Herring		pinctrl-0 = <&pinctrl_fan_enable>;
26724ba675SRob Herring		regulator-min-microvolt = <12000000>;
27724ba675SRob Herring		regulator-max-microvolt = <12000000>;
28724ba675SRob Herring		gpio = <&gpio3 5 GPIO_ACTIVE_HIGH>;
29724ba675SRob Herring		enable-active-high;
30724ba675SRob Herring		regulator-boot-on;
31724ba675SRob Herring	};
32724ba675SRob Herring};
33724ba675SRob Herring
34724ba675SRob Herring&ecspi2 {
35724ba675SRob Herring	status = "okay";
36724ba675SRob Herring
37724ba675SRob Herring	qca700x_cp: ethernet@0 {
38724ba675SRob Herring		reg = <0x0>;
39724ba675SRob Herring		compatible = "qca,qca7000";
40724ba675SRob Herring		pinctrl-names = "default";
41724ba675SRob Herring		pinctrl-0 = <&pinctrl_qca700x_cp_int
42724ba675SRob Herring			     &pinctrl_qca700x_cp_rst
43724ba675SRob Herring			     &pinctrl_qca700x_cp_btld>;
44724ba675SRob Herring		interrupt-parent = <&gpio2>;
45724ba675SRob Herring		interrupts = <19 IRQ_TYPE_EDGE_RISING>;
46724ba675SRob Herring		spi-cpha;
47724ba675SRob Herring		spi-cpol;
48*c834a784SStefan Wahren		spi-max-frequency = <12000000>;
49724ba675SRob Herring	};
50724ba675SRob Herring};
51724ba675SRob Herring
52724ba675SRob Herring&fec1 {
53724ba675SRob Herring	status = "okay";
54724ba675SRob Herring};
55724ba675SRob Herring
56724ba675SRob Herring&pwm7 {
57724ba675SRob Herring	pinctrl-names = "default";
58724ba675SRob Herring	pinctrl-0 = <&pinctrl_pwm_fan>;
59724ba675SRob Herring	status = "okay";
60724ba675SRob Herring};
61724ba675SRob Herring
62724ba675SRob Herring&uart5 {
63724ba675SRob Herring	status = "okay";
64724ba675SRob Herring};
65