/linux/arch/arm/boot/dts/marvell/ |
H A D | kirkwood-linkstation-6282.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree common file for kirkwood-6282 based Buffalo Linkstation 10 #include "kirkwood-6282.dtsi" 11 #include "kirkwood-linkstation.dtsi" 15 pinctrl: pin-controller@10000 { 16 pmx_power_hdd0: pmx-power-hdd0 { 20 pmx_usb_vbus: pmx-usb-vbus { 24 pmx_fan_high: pmx-fan-high { 28 pmx_fan_low: pmx-fan-low { 32 pmx_led_alarm: pmx-led-alarm { [all …]
|
H A D | kirkwood-lsxl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include "kirkwood-6281.dtsi" 8 stdout-path = &uart0; 12 pinctrl: pin-controller@10000 { 13 /* Non-default UART pins */ 14 pmx_uart0: pmx-uart0 { 18 pmx_power_hdd: pmx-power-hdd { 22 pmx_usb_vbus: pmx-usb-vbus { 26 pmx_fan_high: pmx-fan-high { 30 pmx_fan_low: pmx-fan-low { [all …]
|
H A D | kirkwood-linkstation-duo-6281.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree common file for kirkwood-6281 based 2-Bay Buffalo Linkstation 10 #include "kirkwood-6281.dtsi" 11 #include "kirkwood-linkstation.dtsi" 15 pinctrl: pin-controller@10000 { 16 pmx_power_hdd0: pmx-power-hdd0 { 20 pmx_power_hdd1: pmx-power-hdd1 { 24 pmx_usb_vbus: pmx-usb-vbus { 28 pmx_led_alarm: pmx-led-alarm { 32 pmx_led_function_red: pmx-led-function-red { [all …]
|
H A D | kirkwood-synology.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 12 pinctrl: pin-controller@10000 { 13 pmx_alarmled_12: pmx-alarmled-12 { 18 pmx_fanctrl_15: pmx-fanctrl-15 { 23 pmx_fanctrl_16: pmx-fanctrl-16 { 28 pmx_fanctrl_17: pmx-fanctrl-17 { 33 pmx_fanalarm_18: pmx-fanalarm-18 { 38 pmx_hddled_20: pmx-hddled-20 { 43 pmx_hddled_21: pmx-hddled-21 { 48 pmx_hddled_22: pmx-hddled-22 { [all …]
|
H A D | orion5x-linkstation-lswtgl.dts | 2 * Device Tree file for Buffalo Linkstation LS-WTGL 7 * This file is dual-licensed: you can use it either under the terms 46 /dts-v1/; 48 #include "orion5x-linkstation.dtsi" 49 #include "mvebu-linkstation-gpio-simple.dtsi" 50 #include "mvebu-linkstation-fan.dtsi" 51 #include <dt-bindings/gpio/gpio.h> 54 model = "Buffalo Linkstation LS-WTGL"; 55 compatible = "buffalo,lswtgl", "marvell,orion5x-88f5182", "marvell,orion5x"; 63 power-on-switch { [all …]
|
H A D | orion5x-linkstation-lschl.dts | 2 * Device Tree file for Buffalo Linkstation LS-CHLv3 5 * Copyright (C) 2015-2017 8 * This file is dual-licensed: you can use it either under the terms 47 /dts-v1/; 49 #include "orion5x-linkstation.dtsi" 50 #include "mvebu-linkstation-gpio-simple.dtsi" 51 #include "mvebu-linkstation-fan.dtsi" 52 #include <dt-bindings/gpio/gpio.h> 55 model = "Buffalo Linkstation LiveV3 (LS-CHL)"; 56 compatible = "buffalo,lschl", "marvell,orion5x-88f5182", "marvell,orion5x"; [all …]
|
H A D | orion5x-lswsgl.dts | 3 * Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 4 * Based on the board file arch/arm/mach-orion5x/lsmini-setup.c, 7 * This file is dual-licensed: you can use it either under the terms 46 /dts-v1/; 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/input/input.h> 50 #include <dt-bindings/interrupt-controller/irq.h> 51 #include "orion5x-mv88f5182.dtsi" 54 model = "Buffalo Linkstation Mini (LS-WSGL)"; 55 compatible = "buffalo,lswsgl", "marvell,orion5x-88f5182", "marvell,orion5x"; [all …]
|
H A D | kirkwood-nas2big.dts | 1 // SPDX-License-Identifier: GPL-2.0 11 /dts-v1/; 13 #include "kirkwood-netxbig.dtsi" 17 compatible = "lacie,nas2big", "lacie,netxbig", "marvell,kirkwood-88f6282", "marvell,kirkwood"; 26 stdout-path = &uart0; 31 /* The on-chip RTC is not powered (no supercap). */ 37 * the other netxbig-compatible boards. 45 * An I2C fan controller (GMT G762) is used but alarm is 48 compatible = "gpio-fan"; 49 alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; [all …]
|
H A D | kirkwood-linkstation-lswxl.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for Buffalo Linkstation LS-WXL 9 /dts-v1/; 10 #include "kirkwood-linkstation-duo-6281.dtsi" 13 model = "Buffalo Linkstation LS-WXL"; 14 compatible = "buffalo,lswxl", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 22 pinctrl: pin-controller@10000 { 23 pmx_led_hdderr0: pmx-led-hdderr0 { 27 pmx_led_hdderr1: pmx-led-hdderr1 { 31 pmx_fan_lock: pmx-fan-lock { [all …]
|
H A D | kirkwood-ns2max.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/leds/leds-ns2.h> 5 #include "kirkwood-ns2-common.dtsi" 9 compatible = "lacie,netspace_max_v2", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 18 pinctrl-0 = <&pmx_ns2_sata0 &pmx_ns2_sata1>; 19 pinctrl-names = "default"; 21 nr-ports = <2>; 26 compatible = "gpio-fan"; 27 gpios = <&gpio0 22 GPIO_ACTIVE_LOW [all …]
|
H A D | kirkwood-ns2mini.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/leds/leds-ns2.h> 5 #include "kirkwood-ns2-common.dtsi" 10 compatible = "lacie,netspace_mini_v2", "marvell,kirkwood-88f6192", "marvell,kirkwood"; 19 pinctrl-0 = <&pmx_ns2_sata0>; 20 pinctrl-names = "default"; 22 nr-ports = <1>; 27 compatible = "gpio-fan"; 28 gpios = <&gpio0 22 GPIO_ACTIVE_LOW [all …]
|
H A D | armada-370-synology-ds213j.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 * The 0xf1000000 is the default used by the recent, DT-capable, U-Boot 12 * were delivered with an older version of u-boot that left internal 17 * installing it from u-boot prompt) or adjust the Devive Tree 21 /dts-v1/; 23 #include <dt-bindings/input/input.h> 24 #include <dt-bindings/gpio/gpio.h> 25 #include "armada-370.dtsi" 30 "marvell,armada-370-xp"; 33 stdout-path = "serial0:115200n8"; [all …]
|
H A D | kirkwood-net2big.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 * Based on netxbig_v2-setup.c, 14 /dts-v1/; 17 #include "kirkwood-6281.dtsi" 18 #include "kirkwood-netxbig.dtsi" 22 compatible = "lacie,net2big_v2", "lacie,netxbig", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 30 compatible = "gpio-fan"; 31 alarm-gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; 37 compatible = "regulator-fixed"; 39 regulator-name = "hdd1power"; [all …]
|
H A D | kirkwood-dnskw.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 #include "kirkwood-6281.dtsi" 6 model = "D-Link DNS NASes (kirkwood-based)"; 7 compatible = "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 10 compatible = "gpio-keys"; 11 pinctrl-0 = <&pmx_button_power &pmx_button_unmount 13 pinctrl-names = "default"; 15 button-power { 18 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; 20 button-eject { [all …]
|
/linux/drivers/hwmon/ |
H A D | gpio-fan.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * gpio-fan.c - Hwmon driver for fans connected to GPIO lines. 35 struct mutex lock; /* lock GPIOs operations. */ 37 struct gpio_desc **gpios; member 48 * Alarm GPIO. 56 sysfs_notify(&fan_data->hwmon_dev->kobj, NULL, "fan1_alarm"); in fan_alarm_notify() 57 kobject_uevent(&fan_data->hwmon_dev->kobj, KOBJ_CHANGE); in fan_alarm_notify() 64 schedule_work(&fan_data->alarm_work); in fan_alarm_irq_handler() 75 gpiod_get_value_cansleep(fan_data->alarm_gpio)); in fan1_alarm_show() 83 struct device *dev = fan_data->dev; in fan_alarm_init() [all …]
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | gpio-fan.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/hwmon/gpio-fan.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 14 const: gpio-fan 16 gpios: 19 ordered MSB-->LSB. 23 alarm-gpios: 26 gpio-fan,speed-map: [all …]
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-tse850-3.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91-tse850-3.dts - Device Tree file for the Axentia TSE-850 3.0 board 9 /dts-v1/; 10 #include <dt-bindings/pwm/pwm.h> 11 #include "at91-linea.dtsi" 14 model = "Axentia TSE-850 3.0"; 19 compatible = "fixed-clock"; 21 #clock-cells = <0>; 22 clock-frequency = <16000000>; 23 clock-output-names = "sck"; [all …]
|
/linux/arch/arm64/boot/dts/marvell/ |
H A D | armada-3720-uDPU.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Based on Marvell Armada 3720 development board (DB-88F3720-DDR3) 12 /dts-v1/; 14 #include <dt-bindings/gpio/gpio.h> 15 #include "armada-372x.dtsi" 19 stdout-path = "serial0:115200n8"; 28 compatible = "gpio-leds"; 30 led-power1 { 32 gpios = <&gpionb 11 GPIO_ACTIVE_LOW>; 35 led-power2 { [all …]
|
/linux/Documentation/hwmon/ |
H A D | ltc4245.rst | 10 Addresses scanned: 0x20-0x3f 20 ----------- 28 ----------- 38 $ echo ltc4245 0x23 > /sys/bus/i2c/devices/i2c-1/new_device 42 ------------- 44 The LTC4245 has built-in limits for over and under current warnings. This 48 into the values specified in the sysfs-interface document. The current readings 55 in4_input Vee (-12v) input voltage (mV) 57 in1_min_alarm 12v input undervoltage alarm 58 in2_min_alarm 5v input undervoltage alarm [all …]
|
/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6dl-b1x5pv2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 6 // Copyright 2018-2021 General Electric Company 7 // Copyright 2018-2021 Collabora 9 #include <dt-bindings/input/input.h> 10 #include "imx6dl-qmx6.dtsi" 14 stdout-path = &uart3; 20 operating-points = < 25 fsl,soc-operating-points = < 26 /* ARM kHz SOC-PU uV */ 33 operating-points = < [all …]
|
H A D | imx53-ppd.dts | 4 * This file is dual-licensed: you can use it either under the terms 42 /dts-v1/; 45 #include <dt-bindings/input/input.h> 49 compatible = "ge,imx53-cpuvo", "fsl,imx53"; 58 stdout-path = "serial0:115200n8"; 67 cko2_11M: sgtl-clock-cko2 { 68 compatible = "fixed-clock"; 69 #clock-cells = <0>; 70 clock-frequency = <11289600>; 73 achc_24M: achc-clock { [all …]
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm2711-rpi-cm4-io.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 3 #include <dt-bindings/leds/common.h> 4 #include "bcm2711-rpi-cm4.dtsi" 5 #include "bcm283x-rpi-led-deprecated.dtsi" 6 #include "bcm283x-rpi-usb-host.dtsi" 29 gpio-line-names = "ID_SDA", 107 /* Attention: An alarm resets the machine */ 110 quartz-load-femtofarads = <7000>; 116 #address-cells = <1>; [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-ls1028a-kontron-kbox-a-230-ls.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Device Tree File for the Kontron KBox A-230-LS. 5 * This consists of a Kontron SMARC-sAL28 (Dual PHY) and a special 12 /dts-v1/; 13 #include "fsl-ls1028a-kontron-sl28-var4.dts" 14 #include <dt-bindings/leds/common.h> 17 model = "Kontron KBox A-230-LS"; 18 compatible = "kontron,kbox-a-230-ls", "kontron,sl28-var4", 22 compatible = "gpio-leds"; 24 alarm-led { [all …]
|
/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-opp-nicole.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 4 #include "aspeed-g5.dtsi" 5 #include <dt-bindings/gpio/aspeed-gpio.h> 9 compatible = "yadro,nicole-bmc", "aspeed,ast2500"; 12 stdout-path = &uart5; 20 reserved-memory { 21 #address-cells = <1>; 22 #size-cells = <1>; 26 no-map; [all …]
|
/linux/include/linux/mfd/ |
H A D | max77620.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 287 MAX77620_IRQ_TOP_GLBL, /* Low-Battery */ 294 MAX77620_IRQ_LBT_MBATLOW, /* Thermal alarm status, > 120C */ 295 MAX77620_IRQ_LBT_TJALRM1, /* Thermal alarm status, > 120C */ 296 MAX77620_IRQ_LBT_TJALRM2, /* Thermal alarm status, > 140C */ 299 /* GPIOs */
|