xref: /freebsd-src/sys/contrib/device-tree/src/arm64/qcom/sa8155p.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
1fac71e4eSEmmanuel Vadot// SPDX-License-Identifier: BSD-3-Clause
2fac71e4eSEmmanuel Vadot/*
3fac71e4eSEmmanuel Vadot * Copyright (c) 2023, Linaro Limited
4fac71e4eSEmmanuel Vadot *
5fac71e4eSEmmanuel Vadot * SA8155P is an automotive variant of SM8150, with some minor changes.
6fac71e4eSEmmanuel Vadot * Most notably, the RPMhPD setup differs: MMCX and LCX/LMX rails are gone,
7fac71e4eSEmmanuel Vadot * though the cmd-db doesn't reflect that and access attemps result in a bite.
8fac71e4eSEmmanuel Vadot */
9fac71e4eSEmmanuel Vadot
10fac71e4eSEmmanuel Vadot#include "sm8150.dtsi"
11fac71e4eSEmmanuel Vadot
12*b2d2a78aSEmmanuel Vadot&camcc {
13*b2d2a78aSEmmanuel Vadot	power-domains = <&rpmhpd SA8155P_CX>;
14*b2d2a78aSEmmanuel Vadot};
15*b2d2a78aSEmmanuel Vadot
16fac71e4eSEmmanuel Vadot&dispcc {
17fac71e4eSEmmanuel Vadot	power-domains = <&rpmhpd SA8155P_CX>;
18fac71e4eSEmmanuel Vadot};
19fac71e4eSEmmanuel Vadot
20fac71e4eSEmmanuel Vadot&mdss_dsi0 {
21fac71e4eSEmmanuel Vadot	power-domains = <&rpmhpd SA8155P_CX>;
22fac71e4eSEmmanuel Vadot};
23fac71e4eSEmmanuel Vadot
24fac71e4eSEmmanuel Vadot&mdss_dsi1 {
25fac71e4eSEmmanuel Vadot	power-domains = <&rpmhpd SA8155P_CX>;
26fac71e4eSEmmanuel Vadot};
27fac71e4eSEmmanuel Vadot
28fac71e4eSEmmanuel Vadot&mdss_mdp {
29fac71e4eSEmmanuel Vadot	power-domains = <&rpmhpd SA8155P_CX>;
30fac71e4eSEmmanuel Vadot};
31fac71e4eSEmmanuel Vadot
32fac71e4eSEmmanuel Vadot&remoteproc_slpi {
33fac71e4eSEmmanuel Vadot	power-domains = <&rpmhpd SA8155P_CX>,
34fac71e4eSEmmanuel Vadot			<&rpmhpd SA8155P_MX>;
35fac71e4eSEmmanuel Vadot};
36fac71e4eSEmmanuel Vadot
37fac71e4eSEmmanuel Vadot&rpmhpd {
38fac71e4eSEmmanuel Vadot	/*
39fac71e4eSEmmanuel Vadot	 * The bindings were crafted such that SA8155P PDs match their
40fac71e4eSEmmanuel Vadot	 * SM8150 counterparts to make it more maintainable and only
41fac71e4eSEmmanuel Vadot	 * necessitate adjusting entries that actually differ
42fac71e4eSEmmanuel Vadot	 */
43fac71e4eSEmmanuel Vadot	compatible = "qcom,sa8155p-rpmhpd";
44fac71e4eSEmmanuel Vadot};
450e8011faSEmmanuel Vadot
460e8011faSEmmanuel Vadot&videocc {
470e8011faSEmmanuel Vadot	power-domains = <&rpmhpd SA8155P_CX>;
480e8011faSEmmanuel Vadot};
49