fbsd-mt7621.dtsi 940 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  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. interrupt-parent = <&gic>;
  15. gpio0: bank@0 {
  16. reg = <0x0 0x100>;
  17. interrupts = <0 6 4>;
  18. };
  19. gpio1: bank@1 {
  20. reg = <0x0 0x100>;
  21. interrupts = <0 6 4>;
  22. };
  23. gpio2: bank@2 {
  24. reg = <0x0 0x100>;
  25. interrupts = <0 6 4>;
  26. };
  27. };
  28. };
  29. &xhci {
  30. /*
  31. * A slightly different value for reg size is needed by our
  32. * driver for the moment
  33. */
  34. reg = <0x1e1c0000 0x20000>;
  35. };
  36. &pcie {
  37. /*
  38. * Our driver is different that OpenWRT's, so we need slightly
  39. * different values for the reg property
  40. */
  41. reg = <0x1e140000 0x10000>;
  42. };