summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-3.19/overlays/port2_gpio.dts
blob: 240bf4e14d9e65dc72a227df604f656b4505a993 (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
/dts-v1/;
/plugin/;

/* enable spi1 for mts-io */

/ {
    fragment@0 {
        target-path = "/ahb/apb/spi@f0004000";
        __overlay__ {
            status = "okay";

            ap1-cs0@0 {
                compatible = "mts-io-ap2-adc";
                spi-max-frequency = <20000000>;
                reg = <0>;
            };
            ap1-cs1@1 {
                compatible = "mts-io-ap2-dout";
                spi-max-frequency = <1000000>;
                reg = <1>;
            };
            ap1-cs2@2 {
                compatible = "mts-io-ap2-din";
                spi-max-frequency = <1000000>;
                reg = <2>;
            };
        };
    };
};