设备树slew-rate

slew-rate = <0>;//方向0--in 1--out

&pio {
    fps_reset_high: fps_reset_high {
        pins_cmd_dat {
            pins = <PINMUX_GPIO12__FUNC_GPIO12>;
            slew-rate = <1>;   //reset out
            bias-disable;
            output-high;
        };
    };
    fps_reset_low: fps_reset_low {
        pins_cmd_dat {
            pins = <PINMUX_GPIO12__FUNC_GPIO12>;
            slew-rate = <1>;
            bias-disable;
            output-low;
        };
    };
    fps_spi_miso:fps_spi_miso@0{
        pins_cmd_dat {
            pins = <PINMUX_GPIO18__FUNC_SPI1_A_MI>;
            slew-rate = <0>;   //in 0
            bias-disable;
            output-low;
        };
    };
    fps_spi_mosi:fps_spi_mosi@0{
        pins_cmd_dat {
            pins = <PINMUX_GPIO19__FUNC_SPI1_A_MO>;
            slew-rate = <1>;   //out 1
            bias-disable;
            output-low;
        };
    };
    fps_spi_sck:fps_spi_sck@0{
        pins_cmd_dat {
            pins = <PINMUX_GPIO17__FUNC_SPI1_A_CLK>;
            slew-rate = <1>;   //out
            bias-disable;
            output-low;
        };
    };
    fps_spi_cs:fps_spi_cs@0{
        pins_cmd_dat {
            pins = <PINMUX_GPIO16__FUNC_SPI1_A_CSB>;
            slew-rate = <1>;   //out
            bias-pull-up = <11>;
            bias-disable;
            output-low;
        };
    };
    fps_irq: fps_irq {
        pins_cmd_dat {
            pins = <PINMUX_GPIO9__FUNC_GPIO9>;
            slew-rate = <0>;   //in
            bias-pull-down = <00>;
            bias-disable;
            output-low;
        };
    };
};

 

posted @ 2019-08-02 16:00  pw_fan  阅读(1116)  评论(0编辑  收藏  举报