Merge tag 'v5.15.57' into rpi-5.15.y
[platform/kernel/linux-rpi.git] / arch / arm / boot / dts / overlays / smi-overlay.dts
1 // Description: Overlay to enable the secondary memory interface peripheral
2 // Author:      Luke Wren
3
4 /dts-v1/;
5 /plugin/;
6
7 /{
8         compatible = "brcm,bcm2835";
9
10         fragment@0 {
11                 target = <&smi>;
12                 __overlay__ {
13                         pinctrl-names = "default";
14                         pinctrl-0 = <&smi_pins>;
15                         status = "okay";
16                 };
17         };
18
19         fragment@1 {
20                 target = <&gpio>;
21                 __overlay__ {
22                         smi_pins: smi_pins {
23                                 /* Don't configure the top two address bits, as
24                                    these are already used as ID_SD and ID_SC */
25                                 brcm,pins = <2 3 4 5 6 7 8 9 10 11 12 13 14 15
26                                              16 17 18 19 20 21 22 23 24 25>;
27                                 /* Alt 1: SMI */
28                                 brcm,function = <5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
29                                                  5 5 5 5 5 5 5 5 5>;
30                                 /* /CS, /WE and /OE are pulled high, as they are
31                                    generally active low signals */
32                                 brcm,pull = <2 2 2 2 2 2 0 0 0 0 0 0 0 0 0 0 0
33                                              0 0 0 0 0 0 0>;
34                         };
35                 };
36         };
37 };