1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 OR MIT 2*f126890aSEmmanuel Vadot// 3*f126890aSEmmanuel Vadot// Copyright (C) 2023 chargebyte GmbH 4*f126890aSEmmanuel Vadot 5*f126890aSEmmanuel Vadot#include "imx6ull-tarragon-common.dtsi" 6*f126890aSEmmanuel Vadot 7*f126890aSEmmanuel Vadot/ { 8*f126890aSEmmanuel Vadot model = "chargebyte Tarragon Master"; 9*f126890aSEmmanuel Vadot compatible = "chargebyte,imx6ull-tarragon-master", "fsl,imx6ull"; 10*f126890aSEmmanuel Vadot 11*f126890aSEmmanuel Vadot fan0: pwm-fan { 12*f126890aSEmmanuel Vadot compatible = "pwm-fan"; 13*f126890aSEmmanuel Vadot pwms = <&pwm7 0 40000 PWM_POLARITY_INVERTED>; 14*f126890aSEmmanuel Vadot pinctrl-names = "default"; 15*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_fan_sense_snvs>; 16*f126890aSEmmanuel Vadot fan-supply = <®_fan>; 17*f126890aSEmmanuel Vadot interrupt-parent = <&gpio5>; 18*f126890aSEmmanuel Vadot interrupts = <1 IRQ_TYPE_EDGE_FALLING>; 19*f126890aSEmmanuel Vadot }; 20*f126890aSEmmanuel Vadot 21*f126890aSEmmanuel Vadot reg_fan: regulator { 22*f126890aSEmmanuel Vadot compatible = "regulator-fixed"; 23*f126890aSEmmanuel Vadot regulator-name = "fan-supply"; 24*f126890aSEmmanuel Vadot pinctrl-names = "default"; 25*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_fan_enable>; 26*f126890aSEmmanuel Vadot regulator-min-microvolt = <12000000>; 27*f126890aSEmmanuel Vadot regulator-max-microvolt = <12000000>; 28*f126890aSEmmanuel Vadot gpio = <&gpio3 5 GPIO_ACTIVE_HIGH>; 29*f126890aSEmmanuel Vadot enable-active-high; 30*f126890aSEmmanuel Vadot regulator-boot-on; 31*f126890aSEmmanuel Vadot }; 32*f126890aSEmmanuel Vadot}; 33*f126890aSEmmanuel Vadot 34*f126890aSEmmanuel Vadot&ecspi2 { 35*f126890aSEmmanuel Vadot status = "okay"; 36*f126890aSEmmanuel Vadot 37*f126890aSEmmanuel Vadot qca700x_cp: ethernet@0 { 38*f126890aSEmmanuel Vadot reg = <0x0>; 39*f126890aSEmmanuel Vadot compatible = "qca,qca7000"; 40*f126890aSEmmanuel Vadot pinctrl-names = "default"; 41*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_qca700x_cp_int 42*f126890aSEmmanuel Vadot &pinctrl_qca700x_cp_rst 43*f126890aSEmmanuel Vadot &pinctrl_qca700x_cp_btld>; 44*f126890aSEmmanuel Vadot interrupt-parent = <&gpio2>; 45*f126890aSEmmanuel Vadot interrupts = <19 IRQ_TYPE_EDGE_RISING>; 46*f126890aSEmmanuel Vadot spi-cpha; 47*f126890aSEmmanuel Vadot spi-cpol; 48*f126890aSEmmanuel Vadot spi-max-frequency = <16000000>; 49*f126890aSEmmanuel Vadot }; 50*f126890aSEmmanuel Vadot}; 51*f126890aSEmmanuel Vadot 52*f126890aSEmmanuel Vadot&ecspi4 { 53*f126890aSEmmanuel Vadot status = "okay"; 54*f126890aSEmmanuel Vadot 55*f126890aSEmmanuel Vadot qca700x_mains: ethernet@0 { 56*f126890aSEmmanuel Vadot reg = <0x0>; 57*f126890aSEmmanuel Vadot compatible = "qca,qca7000"; 58*f126890aSEmmanuel Vadot pinctrl-names = "default"; 59*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_qca700x_mains_int 60*f126890aSEmmanuel Vadot &pinctrl_qca700x_mains_rst 61*f126890aSEmmanuel Vadot &pinctrl_qca700x_mains_btld>; 62*f126890aSEmmanuel Vadot interrupt-parent = <&gpio5>; 63*f126890aSEmmanuel Vadot interrupts = <9 IRQ_TYPE_EDGE_RISING>; 64*f126890aSEmmanuel Vadot spi-cpha; 65*f126890aSEmmanuel Vadot spi-cpol; 66*f126890aSEmmanuel Vadot spi-max-frequency = <16000000>; 67*f126890aSEmmanuel Vadot }; 68*f126890aSEmmanuel Vadot}; 69*f126890aSEmmanuel Vadot 70*f126890aSEmmanuel Vadot&fec1 { 71*f126890aSEmmanuel Vadot status = "okay"; 72*f126890aSEmmanuel Vadot}; 73*f126890aSEmmanuel Vadot 74*f126890aSEmmanuel Vadot&pwm7 { 75*f126890aSEmmanuel Vadot pinctrl-names = "default"; 76*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_pwm_fan>; 77*f126890aSEmmanuel Vadot status = "okay"; 78*f126890aSEmmanuel Vadot}; 79*f126890aSEmmanuel Vadot 80*f126890aSEmmanuel Vadot&uart5 { 81*f126890aSEmmanuel Vadot status = "okay"; 82*f126890aSEmmanuel Vadot}; 83