summaryrefslogtreecommitdiff
path: root/zephyr/projects/corsola/usbc_kingler.dts
blob: 6703498ad5074107f36174aeaa03ee282c71d30c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* Copyright 2021 The Chromium OS Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/ {
	usbc {
		#address-cells = <1>;
		#size-cells = <0>;

		/* TODO(b/227359727): kingler: convert USB-C configuration to
		 * devicetree
		 */
		port0@0 {
			compatible = "named-usbc-port";
			reg = <0>;

			chg {
				compatible = "intersil,isl923x";
				status = "okay";
				port = <&i2c_charger>;
			};
		};

		port1@1 {
			compatible = "named-usbc-port";
			reg = <1>;
		};
	};
};