xref: /linux/arch/arm64/boot/dts/apple/t8122-usbpd-i2c.dtsi (revision b2128290c29902315e632ea59e0504d6bc9e9b42)
1// SPDX-License-Identifier: GPL-2.0+ OR MIT
2/*
3 * Apple M3 MacBook Pro and iMac (M3, 2023) I2C based USB PD controller nodes
4 *
5 * This file contains nodes for t8122 devices using I2C based cd321x USB Type-C
6 * port controllers. The are used in the M3 MacBook Pro and iMacs but not in the
7 * M3 Macbook Airs.
8 *
9 * target-type: J433, J434, J504
10 *
11 * Copyright The Asahi Linux Contributors
12 */
13
14&i2c0 {
15	status = "okay";
16
17	hpm0: usb-pd@38 {
18		compatible = "apple,cd321x";
19		reg = <0x38>;
20		interrupt-parent = <&pinctrl_ap>;
21		interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
22		interrupt-names = "irq";
23	};
24
25	hpm1: usb-pd@3f {
26		compatible = "apple,cd321x";
27		reg = <0x3f>;
28		interrupt-parent = <&pinctrl_ap>;
29		interrupts = <8 IRQ_TYPE_LEVEL_LOW>;
30		interrupt-names = "irq";
31	};
32};
33