linux-stable/arch/arm/boot/dts/imx6ull-tarragon-slavext.dts

65 lines
1.3 KiB
Plaintext

// SPDX-License-Identifier: GPL-2.0 OR MIT
//
// Copyright (C) 2023 chargebyte GmbH
#include "imx6ull-tarragon-common.dtsi"
/ {
model = "chargebyte Tarragon SlaveXT";
compatible = "chargebyte,imx6ull-tarragon-slavext", "fsl,imx6ull";
fan0: pwm-fan {
compatible = "pwm-fan";
pwms = <&pwm7 0 40000 PWM_POLARITY_INVERTED>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fan_sense_snvs>;
fan-supply = <&reg_fan>;
interrupt-parent = <&gpio5>;
interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
};
reg_fan: regulator {
compatible = "regulator-fixed";
regulator-name = "fan-supply";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_fan_enable>;
regulator-min-microvolt = <12000000>;
regulator-max-microvolt = <12000000>;
gpio = <&gpio3 5 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-boot-on;
};
};
&ecspi2 {
status = "okay";
qca700x_cp: ethernet@0 {
reg = <0x0>;
compatible = "qca,qca7000";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_qca700x_cp_int
&pinctrl_qca700x_cp_rst
&pinctrl_qca700x_cp_btld>;
interrupt-parent = <&gpio2>;
interrupts = <19 IRQ_TYPE_EDGE_RISING>;
spi-cpha;
spi-cpol;
spi-max-frequency = <16000000>;
};
};
&fec1 {
status = "okay";
};
&pwm7 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm_fan>;
status = "okay";
};
&uart5 {
status = "okay";
};