Merge tag 'v5.15.57' into rpi-5.15.y
[platform/kernel/linux-rpi.git] / arch / arm / boot / dts / overlays / sc16is750-i2c-overlay.dts
1 /dts-v1/;
2 /plugin/;
3
4 / {
5         compatible = "brcm,bcm2835";
6
7         fragment@0 {
8                 target = <&i2c_arm>;
9                 __overlay__ {
10                         #address-cells = <1>;
11                         #size-cells = <0>;
12                         status = "okay";
13
14                         sc16is750: sc16is750@48 {
15                                 compatible = "nxp,sc16is750";
16                                 reg = <0x48>; /* i2c address */
17                                 clocks = <&sc16is750_clk>;
18                                 interrupt-parent = <&gpio>;
19                                 interrupts = <24 2>; /* IRQ_TYPE_EDGE_FALLING */
20                                 gpio-controller;
21                                 #gpio-cells = <2>;
22                                 i2c-max-frequency = <400000>;
23                         };
24                 };
25         };
26
27         fragment@1 {
28                 target-path = "/";
29                 __overlay__ {
30                         sc16is750_clk: sc16is750_i2c_clk@48 {
31                                 compatible = "fixed-clock";
32                                 #clock-cells = <0>;
33                                 clock-frequency = <14745600>;
34                         };
35                 };
36         };
37
38         __overrides__ {
39                 int_pin = <&sc16is750>,"interrupts:0";
40                 addr = <&sc16is750>,"reg:0", <&sc16is750_clk>,"name";
41                 xtal = <&sc16is750_clk>,"clock-frequency:0";
42         };
43 };