30 lines
423 B
Plaintext
30 lines
423 B
Plaintext
/dts-v1/;
|
|
/plugin/;
|
|
|
|
/ {
|
|
compatible = "allwinner,sun50i-a64";
|
|
|
|
fragment@0 {
|
|
target = <&pio>;
|
|
__overlay__ {
|
|
pps_pins: pps_pins {
|
|
pins = "PD4";
|
|
function = "gpio_in";
|
|
};
|
|
};
|
|
};
|
|
|
|
fragment@1 {
|
|
target-path = "/";
|
|
__overlay__ {
|
|
pps@0 {
|
|
compatible = "pps-gpio";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&pps_pins>;
|
|
gpios = <&pio 3 4 0>; /* PD4 */
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|
|
};
|