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