| .. | .. |
|---|
| 71 | 71 | #define MFP_DS13X < (0x7 << 10) MFP_DSMSK > |
|---|
| 72 | 72 | |
|---|
| 73 | 73 | /* |
|---|
| 74 | + * MFP bias pull mode for pins. |
|---|
| 75 | + * Example of use: pinctrl-single,bias-pullup = MPF_PULL_UP; |
|---|
| 76 | + */ |
|---|
| 77 | +#define MPF_PULL_MSK (0x7 << 13) |
|---|
| 78 | +#define MPF_PULL_DOWN < (0x5 << 13) (0x5 << 13) 0 MPF_PULL_MSK > |
|---|
| 79 | +#define MPF_PULL_UP < (0x6 << 13) (0x6 << 13) 0 MPF_PULL_MSK > |
|---|
| 80 | + |
|---|
| 81 | +/* |
|---|
| 74 | 82 | * MFP low power mode for pins. |
|---|
| 75 | 83 | * Example of use: |
|---|
| 76 | 84 | * pinctrl-single,low-power-mode = MFP_LPM(MFP_LPM_PULL_LOW|MFP_LPM_EDGE_FALL); |
|---|
| .. | .. |
|---|
| 151 | 159 | pinctrl: pinctrl@40e10000 { |
|---|
| 152 | 160 | compatible = "pinconf-single"; |
|---|
| 153 | 161 | reg = <0x40e10000 0xffff>; |
|---|
| 154 | | - #address-cells = <1>; |
|---|
| 155 | | - #size-cells = <0>; |
|---|
| 156 | 162 | #pinctrl-cells = <1>; |
|---|
| 157 | 163 | pinctrl-single,register-width = <32>; |
|---|
| 158 | 164 | pinctrl-single,function-mask = <0x7>; |
|---|
| .. | .. |
|---|
| 164 | 170 | clocks = <&clks CLK_GPIO>; |
|---|
| 165 | 171 | gpio-ranges = <&pinctrl 0 0 128>; |
|---|
| 166 | 172 | interrupt-names = "gpio0", "gpio1", "gpio_mux"; |
|---|
| 167 | | - interrupts = <8 9 10>; |
|---|
| 173 | + interrupts = <8>, <9>, <10>; |
|---|
| 168 | 174 | gpio-controller; |
|---|
| 169 | 175 | #gpio-cells = <0x2>; |
|---|
| 170 | 176 | interrupt-controller; |
|---|
| .. | .. |
|---|
| 275 | 281 | clocks = <&clks CLK_SSP4>; |
|---|
| 276 | 282 | status = "disabled"; |
|---|
| 277 | 283 | }; |
|---|
| 284 | + |
|---|
| 285 | + timer@40a00000 { |
|---|
| 286 | + compatible = "marvell,pxa-timer"; |
|---|
| 287 | + reg = <0x40a00000 0x20>; |
|---|
| 288 | + interrupts = <26>; |
|---|
| 289 | + clocks = <&clks CLK_OSTIMER>; |
|---|
| 290 | + status = "okay"; |
|---|
| 291 | + }; |
|---|
| 292 | + |
|---|
| 293 | + gcu: display-controller@54000000 { |
|---|
| 294 | + compatible = "marvell,pxa300-gcu"; |
|---|
| 295 | + reg = <0x54000000 0x1000>; |
|---|
| 296 | + interrupts = <39>; |
|---|
| 297 | + clocks = <&clks CLK_PXA300_GCU>; |
|---|
| 298 | + status = "disabled"; |
|---|
| 299 | + }; |
|---|
| 278 | 300 | }; |
|---|
| 279 | 301 | |
|---|
| 280 | 302 | clocks { |
|---|
| .. | .. |
|---|
| 286 | 308 | #size-cells = <1>; |
|---|
| 287 | 309 | ranges; |
|---|
| 288 | 310 | |
|---|
| 289 | | - clks: pxa3xx_clks@41300004 { |
|---|
| 311 | + clks: clocks { |
|---|
| 290 | 312 | compatible = "marvell,pxa300-clocks"; |
|---|
| 291 | 313 | #clock-cells = <1>; |
|---|
| 292 | 314 | status = "okay"; |
|---|
| 293 | 315 | }; |
|---|
| 294 | | - }; |
|---|
| 295 | | - |
|---|
| 296 | | - timer@40a00000 { |
|---|
| 297 | | - compatible = "marvell,pxa-timer"; |
|---|
| 298 | | - reg = <0x40a00000 0x20>; |
|---|
| 299 | | - interrupts = <26>; |
|---|
| 300 | | - clocks = <&clks CLK_OSTIMER>; |
|---|
| 301 | | - status = "okay"; |
|---|
| 302 | 316 | }; |
|---|
| 303 | 317 | }; |
|---|