Merge tag 'v5.15.57' into rpi-5.15.y
[platform/kernel/linux-rpi.git] / arch / arm / boot / dts / overlays / qca7000-uart0-overlay.dts
1 // Overlay for the Qualcomm Atheros QCA7000 on PLC Stamp micro EVK
2 // Visit: https://in-tech-smartcharging.com/products/evaluation-tools/plc-stamp-micro-2-evaluation-board for details
3
4 /dts-v1/;
5 /plugin/;
6
7 / {
8         compatible = "brcm,bcm2835";
9
10         fragment@0 {
11                 target = <&uart0>;
12                 __overlay__ {
13                         pinctrl-names = "default";
14                         pinctrl-0 = <&uart0_pins>;
15                         status = "okay";
16
17                         eth2: qca7000 {
18                                 compatible = "qca,qca7000";
19                                 current-speed = <115200>;
20                         };
21                 };
22         };
23
24         fragment@1 {
25                 target = <&gpio>;
26                 __overlay__ {
27                         uart0_pins: uart0_ovl_pins {
28                                 brcm,pins = <14 15>;
29                                 brcm,function = <4>; /* alt0 */
30                                 brcm,pull = <0 2>;
31                         };
32                 };
33         };
34
35         fragment@2 {
36                 target-path = "/aliases";
37                 __overlay__ {
38                         serial0 = "/soc/serial@7e201000";
39                         serial1 = "/soc/serial@7e215040";
40                 };
41         };
42
43         __overrides__ {
44                 baudrate = <&eth2>, "current-speed:0";
45         };
46 };