44 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/hwmon/sophgo,sg2042-hwmon-mcu.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Sophgo SG2042 onboard MCU support8 9maintainers:10 - Inochi Amaoto <inochiama@outlook.com>11 12properties:13 compatible:14 const: sophgo,sg2042-hwmon-mcu15 16 reg:17 maxItems: 118 19 "#thermal-sensor-cells":20 const: 121 22required:23 - compatible24 - reg25 - "#thermal-sensor-cells"26 27allOf:28 - $ref: /schemas/thermal/thermal-sensor.yaml#29 30unevaluatedProperties: false31 32examples:33 - |34 i2c {35 #address-cells = <1>;36 #size-cells = <0>;37 38 hwmon@17 {39 compatible = "sophgo,sg2042-hwmon-mcu";40 reg = <0x17>;41 #thermal-sensor-cells = <1>;42 };43 };44