xref: /freebsd/sys/contrib/device-tree/src/arm/qcom/pm8821.dtsi (revision 8d13bc63c0e1d50bc9e47ac1f26329c999bfecf0)
1*8d13bc63SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*8d13bc63SEmmanuel Vadot
3*8d13bc63SEmmanuel Vadot/* This PMIC is used on a secondary SSBI bus */
4*8d13bc63SEmmanuel Vadot&ssbi2 {
5*8d13bc63SEmmanuel Vadot	pm8821: pmic {
6*8d13bc63SEmmanuel Vadot		compatible = "qcom,pm8821";
7*8d13bc63SEmmanuel Vadot		interrupt-controller;
8*8d13bc63SEmmanuel Vadot		#interrupt-cells = <2>;
9*8d13bc63SEmmanuel Vadot		#address-cells = <1>;
10*8d13bc63SEmmanuel Vadot		#size-cells = <0>;
11*8d13bc63SEmmanuel Vadot
12*8d13bc63SEmmanuel Vadot		pm8821_mpps: mpps@50 {
13*8d13bc63SEmmanuel Vadot			compatible = "qcom,pm8821-mpp", "qcom,ssbi-mpp";
14*8d13bc63SEmmanuel Vadot			reg = <0x50>;
15*8d13bc63SEmmanuel Vadot			gpio-controller;
16*8d13bc63SEmmanuel Vadot			#gpio-cells = <2>;
17*8d13bc63SEmmanuel Vadot			gpio-ranges = <&pm8821_mpps 0 0 4>;
18*8d13bc63SEmmanuel Vadot			interrupt-controller;
19*8d13bc63SEmmanuel Vadot			#interrupt-cells = <2>;
20*8d13bc63SEmmanuel Vadot		};
21*8d13bc63SEmmanuel Vadot	};
22*8d13bc63SEmmanuel Vadot};
23