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