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