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