diff options
| -rw-r--r-- | Documentation/devicetree/bindings/iio/adc/at91_adc.txt (renamed from Documentation/devicetree/bindings/arm/atmel-adc.txt) | 33 | ||||
| -rw-r--r-- | Documentation/devicetree/bindings/usb/atmel-usb.txt | 4 | ||||
| -rw-r--r-- | arch/arm/boot/dts/at91-ariag25.dts | 1 | ||||
| -rw-r--r-- | arch/arm/boot/dts/at91-cosino.dtsi | 1 | ||||
| -rw-r--r-- | arch/arm/boot/dts/at91-cosino_mega2560.dts | 1 | ||||
| -rw-r--r-- | arch/arm/boot/dts/at91sam9260.dtsi | 11 | ||||
| -rw-r--r-- | arch/arm/boot/dts/at91sam9g45.dtsi | 12 | ||||
| -rw-r--r-- | arch/arm/boot/dts/at91sam9n12.dtsi | 1 | ||||
| -rw-r--r-- | arch/arm/boot/dts/at91sam9x5.dtsi | 14 | ||||
| -rw-r--r-- | arch/arm/boot/dts/sama5d3.dtsi | 28 | ||||
| -rw-r--r-- | arch/arm/boot/dts/sama5d3xdm.dtsi | 6 |
11 files changed, 52 insertions, 60 deletions
diff --git a/Documentation/devicetree/bindings/arm/atmel-adc.txt b/Documentation/devicetree/bindings/iio/adc/at91_adc.txt index d1061469f63d..82061c7e4fea 100644 --- a/Documentation/devicetree/bindings/arm/atmel-adc.txt +++ b/Documentation/devicetree/bindings/iio/adc/at91_adc.txt | |||
| @@ -5,32 +5,32 @@ Required properties: | |||
| 5 | <chip> can be "at91sam9260", "at91sam9g45" or "at91sam9x5" | 5 | <chip> can be "at91sam9260", "at91sam9g45" or "at91sam9x5" |
| 6 | - reg: Should contain ADC registers location and length | 6 | - reg: Should contain ADC registers location and length |
| 7 | - interrupts: Should contain the IRQ line for the ADC | 7 | - interrupts: Should contain the IRQ line for the ADC |
| 8 | - atmel,adc-channels-used: Bitmask of the channels muxed and enable for this | 8 | - atmel,adc-channels-used: Bitmask of the channels muxed and enabled for this |
| 9 | device | 9 | device |
| 10 | - atmel,adc-startup-time: Startup Time of the ADC in microseconds as | 10 | - atmel,adc-startup-time: Startup Time of the ADC in microseconds as |
| 11 | defined in the datasheet | 11 | defined in the datasheet |
| 12 | - atmel,adc-vref: Reference voltage in millivolts for the conversions | 12 | - atmel,adc-vref: Reference voltage in millivolts for the conversions |
| 13 | - atmel,adc-res: List of resolution in bits supported by the ADC. List size | 13 | - atmel,adc-res: List of resolutions in bits supported by the ADC. List size |
| 14 | must be two at least. | 14 | must be two at least. |
| 15 | - atmel,adc-res-names: Contains one identifier string for each resolution | 15 | - atmel,adc-res-names: Contains one identifier string for each resolution |
| 16 | in atmel,adc-res property. "lowres" and "highres" | 16 | in atmel,adc-res property. "lowres" and "highres" |
| 17 | identifiers are required. | 17 | identifiers are required. |
| 18 | 18 | ||
| 19 | Optional properties: | 19 | Optional properties: |
| 20 | - atmel,adc-use-external: Boolean to enable of external triggers | 20 | - atmel,adc-use-external-triggers: Boolean to enable the external triggers |
| 21 | - atmel,adc-use-res: String corresponding to an identifier from | 21 | - atmel,adc-use-res: String corresponding to an identifier from |
| 22 | atmel,adc-res-names property. If not specified, the highest | 22 | atmel,adc-res-names property. If not specified, the highest |
| 23 | resolution will be used. | 23 | resolution will be used. |
| 24 | - atmel,adc-sleep-mode: Boolean to enable sleep mode when no conversion | 24 | - atmel,adc-sleep-mode: Boolean to enable sleep mode when no conversion |
| 25 | - atmel,adc-sample-hold-time: Sample and Hold Time in microseconds | 25 | - atmel,adc-sample-hold-time: Sample and Hold Time in microseconds |
| 26 | - atmel,adc-ts-wires: Number of touch screen wires. Should be 4 or 5. If this | 26 | - atmel,adc-ts-wires: Number of touchscreen wires. Should be 4 or 5. If this |
| 27 | value is set, then adc driver will enable touch screen | 27 | value is set, then the adc driver will enable touchscreen |
| 28 | support. | 28 | support. |
| 29 | NOTE: when adc touch screen enabled, the adc hardware trigger will be | 29 | NOTE: when adc touchscreen is enabled, the adc hardware trigger will be |
| 30 | disabled. Since touch screen will occupied the trigger register. | 30 | disabled. Since touchscreen will occupy the trigger register. |
| 31 | - atmel,adc-ts-pressure-threshold: a pressure threshold for touchscreen. It | 31 | - atmel,adc-ts-pressure-threshold: a pressure threshold for touchscreen. It |
| 32 | make touch detect more precision. | 32 | makes touch detection more precise. |
| 33 | 33 | ||
| 34 | Optional trigger Nodes: | 34 | Optional trigger Nodes: |
| 35 | - Required properties: | 35 | - Required properties: |
| 36 | * trigger-name: Name of the trigger exposed to the user | 36 | * trigger-name: Name of the trigger exposed to the user |
| @@ -41,40 +41,41 @@ Optional trigger Nodes: | |||
| 41 | 41 | ||
| 42 | Examples: | 42 | Examples: |
| 43 | adc0: adc@fffb0000 { | 43 | adc0: adc@fffb0000 { |
| 44 | #address-cells = <1>; | ||
| 45 | #size-cells = <0>; | ||
| 44 | compatible = "atmel,at91sam9260-adc"; | 46 | compatible = "atmel,at91sam9260-adc"; |
| 45 | reg = <0xfffb0000 0x100>; | 47 | reg = <0xfffb0000 0x100>; |
| 46 | interrupts = <20 4>; | 48 | interrupts = <20 IRQ_TYPE_LEVEL_HIGH 0>; |
| 47 | atmel,adc-channel-base = <0x30>; | ||
| 48 | atmel,adc-channels-used = <0xff>; | 49 | atmel,adc-channels-used = <0xff>; |
| 49 | atmel,adc-drdy-mask = <0x10000>; | ||
| 50 | atmel,adc-num-channels = <8>; | ||
| 51 | atmel,adc-startup-time = <40>; | 50 | atmel,adc-startup-time = <40>; |
| 52 | atmel,adc-status-register = <0x1c>; | 51 | atmel,adc-use-external-triggers; |
| 53 | atmel,adc-trigger-register = <0x08>; | ||
| 54 | atmel,adc-use-external; | ||
| 55 | atmel,adc-vref = <3300>; | 52 | atmel,adc-vref = <3300>; |
| 56 | atmel,adc-res = <8 10>; | 53 | atmel,adc-res = <8 10>; |
| 57 | atmel,adc-res-names = "lowres", "highres"; | 54 | atmel,adc-res-names = "lowres", "highres"; |
| 58 | atmel,adc-use-res = "lowres"; | 55 | atmel,adc-use-res = "lowres"; |
| 59 | 56 | ||
| 60 | trigger@0 { | 57 | trigger@0 { |
| 58 | reg = <0>; | ||
| 61 | trigger-name = "external-rising"; | 59 | trigger-name = "external-rising"; |
| 62 | trigger-value = <0x1>; | 60 | trigger-value = <0x1>; |
| 63 | trigger-external; | 61 | trigger-external; |
| 64 | }; | 62 | }; |
| 65 | trigger@1 { | 63 | trigger@1 { |
| 64 | reg = <1>; | ||
| 66 | trigger-name = "external-falling"; | 65 | trigger-name = "external-falling"; |
| 67 | trigger-value = <0x2>; | 66 | trigger-value = <0x2>; |
| 68 | trigger-external; | 67 | trigger-external; |
| 69 | }; | 68 | }; |
| 70 | 69 | ||
| 71 | trigger@2 { | 70 | trigger@2 { |
| 71 | reg = <2>; | ||
| 72 | trigger-name = "external-any"; | 72 | trigger-name = "external-any"; |
| 73 | trigger-value = <0x3>; | 73 | trigger-value = <0x3>; |
| 74 | trigger-external; | 74 | trigger-external; |
| 75 | }; | 75 | }; |
| 76 | 76 | ||
| 77 | trigger@3 { | 77 | trigger@3 { |
| 78 | reg = <3>; | ||
| 78 | trigger-name = "continuous"; | 79 | trigger-name = "continuous"; |
| 79 | trigger-value = <0x6>; | 80 | trigger-value = <0x6>; |
| 80 | }; | 81 | }; |
diff --git a/Documentation/devicetree/bindings/usb/atmel-usb.txt b/Documentation/devicetree/bindings/usb/atmel-usb.txt index 55f51af08bc7..bc2222ca3f2a 100644 --- a/Documentation/devicetree/bindings/usb/atmel-usb.txt +++ b/Documentation/devicetree/bindings/usb/atmel-usb.txt | |||
| @@ -57,8 +57,8 @@ Required properties: | |||
| 57 | - ep childnode: To specify the number of endpoints and their properties. | 57 | - ep childnode: To specify the number of endpoints and their properties. |
| 58 | 58 | ||
| 59 | Optional properties: | 59 | Optional properties: |
| 60 | - atmel,vbus-gpio: If present, specifies a gpio that needs to be | 60 | - atmel,vbus-gpio: If present, specifies a gpio that allows to detect whether |
| 61 | activated for the bus to be powered. | 61 | vbus is present (USB is connected). |
| 62 | 62 | ||
| 63 | Required child node properties: | 63 | Required child node properties: |
| 64 | - name: Name of the endpoint. | 64 | - name: Name of the endpoint. |
diff --git a/arch/arm/boot/dts/at91-ariag25.dts b/arch/arm/boot/dts/at91-ariag25.dts index cce45f5177f9..55ab6180e350 100644 --- a/arch/arm/boot/dts/at91-ariag25.dts +++ b/arch/arm/boot/dts/at91-ariag25.dts | |||
| @@ -129,7 +129,6 @@ | |||
| 129 | adc0: adc@f804c000 { | 129 | adc0: adc@f804c000 { |
| 130 | status = "okay"; | 130 | status = "okay"; |
| 131 | atmel,adc-channels-used = <0xf>; | 131 | atmel,adc-channels-used = <0xf>; |
| 132 | atmel,adc-num-channels = <4>; | ||
| 133 | }; | 132 | }; |
| 134 | 133 | ||
| 135 | dbgu: serial@fffff200 { | 134 | dbgu: serial@fffff200 { |
diff --git a/arch/arm/boot/dts/at91-cosino.dtsi b/arch/arm/boot/dts/at91-cosino.dtsi index 2093c4d7cd6a..df4b78695695 100644 --- a/arch/arm/boot/dts/at91-cosino.dtsi +++ b/arch/arm/boot/dts/at91-cosino.dtsi | |||
| @@ -64,7 +64,6 @@ | |||
| 64 | }; | 64 | }; |
| 65 | 65 | ||
| 66 | adc0: adc@f804c000 { | 66 | adc0: adc@f804c000 { |
| 67 | atmel,adc-clock-rate = <1000000>; | ||
| 68 | atmel,adc-ts-wires = <4>; | 67 | atmel,adc-ts-wires = <4>; |
| 69 | atmel,adc-ts-pressure-threshold = <10000>; | 68 | atmel,adc-ts-pressure-threshold = <10000>; |
| 70 | status = "okay"; | 69 | status = "okay"; |
