OpenWrt – Diff between revs 2 and 3

Subversion Repositories:
Rev:
Show entire fileIgnore whitespace
Rev 2 Rev 3
Line 27... Line 27...
27 + - second cell is used to specify optional parameters (unused) 27 + - second cell is used to specify optional parameters (unused)
28 +- gpio-controller : Marks the device node as a GPIO controller 28 +- gpio-controller : Marks the device node as a GPIO controller
29 +- reg : Physical base address and length of the controller's registers 29 +- reg : Physical base address and length of the controller's registers
30 +- interrupt-parent: phandle to the INTC device node 30 +- interrupt-parent: phandle to the INTC device node
31 +- interrupts : Specify the INTC interrupt number 31 +- interrupts : Specify the INTC interrupt number
32 +- ralink,nr-gpio : Specify the number of GPIOs 32 +- ralink,num-gpios : Specify the number of GPIOs
33 +- ralink,register-map : The register layout depends on the GPIO bank and actual 33 +- ralink,register-map : The register layout depends on the GPIO bank and actual
34 + SoC type. Register offsets need to be in this order. 34 + SoC type. Register offsets need to be in this order.
35 + [ INT, EDGE, RENA, FENA, DATA, DIR, POL, SET, RESET, TOGGLE ] 35 + [ INT, EDGE, RENA, FENA, DATA, DIR, POL, SET, RESET, TOGGLE ]
36 + 36 +
37 +Optional properties: 37 +Optional properties:
Line 49... Line 49...
49 + 49 +
50 + interrupt-parent = <&intc>; 50 + interrupt-parent = <&intc>;
51 + interrupts = <6>; 51 + interrupts = <6>;
52 + 52 +
53 + ralink,gpio-base = <0>; 53 + ralink,gpio-base = <0>;
54 + ralink,nr-gpio = <24>; 54 + ralink,num-gpios = <24>;
55 + ralink,register-map = [ 00 04 08 0c 55 + ralink,register-map = [ 00 04 08 0c
56 + 20 24 28 2c 56 + 20 24 28 2c
57 + 30 34 ]; 57 + 30 34 ];
58 + 58 +
59 + }; 59 + };