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";
16 bootargs-append = " rootwait";
21 ap3223_pins: ap3223_pinmux {
27 i2c7_pins: i2c7_pinmux {
29 pins = "gpio8", "gpio9";
45 qcom,mode = <GSBI_PROT_I2C_UART>;
50 clock-frequency = <100000>;
51 pinctrl-0 = <&i2c7_pins>;
52 pinctrl-names = "default";
55 compatible = "dynaimage,ap3223";
58 pinctrl-0 = <&ap3223_pins>;
59 pinctrl-names = "default";
61 int-gpio = <&qcom_pinmux 22 GPIO_ACTIVE_LOW>;
65 compatible = "national,lp5523";
67 clock-mode = /bits/ 8 <1>;
73 color = <LED_COLOR_ID_GREEN>;
74 chan-name = "green:status";
75 linux,default-trigger = "default-on";
76 led-cur = /bits/ 8 <0xfa>;
77 max-cur = /bits/ 8 <0xff>;
82 color = <LED_COLOR_ID_BLUE>;
83 chan-name = "blue:status";
84 led-cur = /bits/ 8 <0xfa>;
85 max-cur = /bits/ 8 <0xff>;
90 color = <LED_COLOR_ID_RED>;
91 chan-name = "red:status";
92 led-cur = /bits/ 8 <0xfa>;
93 max-cur = /bits/ 8 <0xff>;