Advertisement
Guest User

rpi_spi-nand.dtsi

a guest
May 29th, 2020
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. &gpio {
  2. spi0_pins: spi0_pins {
  3. brcm,pins = <9 10 11>;
  4. brcm,function = <4>; /* alt0 */
  5. };
  6.  
  7. spi0_cs_pins: spi0_cs_pins {
  8. brcm,pins = <8 7>;
  9. brcm,function = <1>; /* output */
  10. };
  11. };
  12.  
  13. &spi {
  14. //pinctrl-names = "default";
  15. //pinctrl-0 = <&spi0_pins &spi0_cs_pins>;
  16. cs-gpios = <&gpio 8 1>, <&gpio 7 1>;
  17. status = "okay";
  18.  
  19. spi-nand@0 {
  20. compatible = "spi-nand";
  21. reg = <0>;
  22. spi-max-frequency = <1000000>;
  23. };
  24. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement