1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright 2014 The ChromiumOS Authors
6 #include "qcom-ipq8064-onhub.dtsi"
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/leds/common.h>
9 #include <dt-bindings/soc/qcom,gsbi.h>
13 compatible = "asus,onhub", "google,arkham", "qcom,ipq8064";
17 ap3223_pins: ap3223_pinmux {
23 i2c7_pins: i2c7_pinmux {
25 pins = "gpio8", "gpio9";
41 qcom,mode = <GSBI_PROT_I2C_UART>;
46 clock-frequency = <100000>;
47 pinctrl-0 = <&i2c7_pins>;
48 pinctrl-names = "default";
51 compatible = "dynaimage,ap3223";
54 pinctrl-0 = <&ap3223_pins>;
55 pinctrl-names = "default";
57 int-gpio = <&qcom_pinmux 22 GPIO_ACTIVE_LOW>;
61 compatible = "national,lp5523";
63 clock-mode = /bits/ 8 <1>;
69 color = <LED_COLOR_ID_GREEN>;
70 chan-name = "green:status";
71 linux,default-trigger = "default-on";
72 led-cur = /bits/ 8 <0xfa>;
73 max-cur = /bits/ 8 <0xff>;
78 color = <LED_COLOR_ID_BLUE>;
79 chan-name = "blue:status";
80 led-cur = /bits/ 8 <0xfa>;
81 max-cur = /bits/ 8 <0xff>;
86 color = <LED_COLOR_ID_RED>;
87 chan-name = "red:status";
88 led-cur = /bits/ 8 <0xfa>;
89 max-cur = /bits/ 8 <0xff>;