Documentation: dt: usb: atmel-usb: add unit-address
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 12 Jul 2016 20:45:47 +0000 (22:45 +0200)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 15 Jul 2016 08:23:23 +0000 (10:23 +0200)
The endpoint nodes have a reg property, they also need a unit-address. Add
them in the example.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Documentation/devicetree/bindings/usb/atmel-usb.txt

index 5883b73ea1b56053fbafb98f473b1f2c8a349c62..f4262ed60582d31bcb807f7d5ac2f2b1ae66462d 100644 (file)
@@ -113,13 +113,13 @@ usb2: gadget@fff78000 {
        clock-names = "hclk", "pclk";
        atmel,vbus-gpio = <&pioB 19 0>;
 
-       ep0 {
+       ep@0 {
                reg = <0>;
                atmel,fifo-size = <64>;
                atmel,nb-banks = <1>;
        };
 
-       ep1 {
+       ep@1 {
                reg = <1>;
                atmel,fifo-size = <1024>;
                atmel,nb-banks = <2>;
@@ -127,7 +127,7 @@ usb2: gadget@fff78000 {
                atmel,can-isoc;
        };
 
-       ep2 {
+       ep@2 {
                reg = <2>;
                atmel,fifo-size = <1024>;
                atmel,nb-banks = <2>;
@@ -135,21 +135,21 @@ usb2: gadget@fff78000 {
                atmel,can-isoc;
        };
 
-       ep3 {
+       ep@3 {
                reg = <3>;
                atmel,fifo-size = <1024>;
                atmel,nb-banks = <3>;
                atmel,can-dma;
        };
 
-       ep4 {
+       ep@4 {
                reg = <4>;
                atmel,fifo-size = <1024>;
                atmel,nb-banks = <3>;
                atmel,can-dma;
        };
 
-       ep5 {
+       ep@5 {
                reg = <5>;
                atmel,fifo-size = <1024>;
                atmel,nb-banks = <3>;
@@ -157,7 +157,7 @@ usb2: gadget@fff78000 {
                atmel,can-isoc;
        };
 
-       ep6 {
+       ep@6 {
                reg = <6>;
                atmel,fifo-size = <1024>;
                atmel,nb-banks = <3>;