fbsd-mt7628an.dtsi 803 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /* $FreeBSD$ */
  2. &palmbus {
  3. gpio@600 {
  4. /*
  5. * Mark gpio as compatible to simple-bus and override
  6. * its #size-cells and provide a default ranges property
  7. * so we can attach instances of our mtk_gpio_v2 driver
  8. * to it for now. Provide exactly the same resources to
  9. * the instances of mtk_gpio_v2.
  10. */
  11. compatible = "simple-bus";
  12. ranges = <0x0 0x600 0x100>;
  13. #size-cells = <1>;
  14. gpio0: bank@0 {
  15. reg = <0x0 0x100>;
  16. interrupts = <6>;
  17. };
  18. gpio1: bank@1 {
  19. reg = <0x0 0x100>;
  20. interrupts = <6>;
  21. };
  22. gpio2: bank@2 {
  23. reg = <0x0 0x100>;
  24. interrupts = <6>;
  25. };
  26. };
  27. };
  28. &pcie {
  29. /*
  30. * Our driver is different that OpenWRT's, so we need slightly
  31. * different values for the reg property
  32. */
  33. reg = <0x10140000 0x10000>;
  34. compatible = "mediatek,mt7628-pci";
  35. };