summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-3.19/overlays/port1_gpio.dts
blob: d931cd800d7022e83878cf59a62fd9189d519179 (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 spi0 for mts-io */

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

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