Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- &gpio {
- spi0_pins: spi0_pins {
- brcm,pins = <9 10 11>;
- brcm,function = <4>; /* alt0 */
- };
- spi0_cs_pins: spi0_cs_pins {
- brcm,pins = <8 7>;
- brcm,function = <1>; /* output */
- };
- };
- &spi {
- //pinctrl-names = "default";
- //pinctrl-0 = <&spi0_pins &spi0_cs_pins>;
- cs-gpios = <&gpio 8 1>, <&gpio 7 1>;
- status = "okay";
- spi-nand@0 {
- compatible = "spi-nand";
- reg = <0>;
- spi-max-frequency = <1000000>;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement