Commit 60ec83e3 authored by Alexandre Belloni's avatar Alexandre Belloni

Documentation: dt: usb: atmel-usb: add unit-address

The endpoint nodes have a reg property, they also need a unit-address. Add
them in the example.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent c94afa13
...@@ -113,13 +113,13 @@ usb2: gadget@fff78000 { ...@@ -113,13 +113,13 @@ usb2: gadget@fff78000 {
clock-names = "hclk", "pclk"; clock-names = "hclk", "pclk";
atmel,vbus-gpio = <&pioB 19 0>; atmel,vbus-gpio = <&pioB 19 0>;
ep0 { ep@0 {
reg = <0>; reg = <0>;
atmel,fifo-size = <64>; atmel,fifo-size = <64>;
atmel,nb-banks = <1>; atmel,nb-banks = <1>;
}; };
ep1 { ep@1 {
reg = <1>; reg = <1>;
atmel,fifo-size = <1024>; atmel,fifo-size = <1024>;
atmel,nb-banks = <2>; atmel,nb-banks = <2>;
...@@ -127,7 +127,7 @@ usb2: gadget@fff78000 { ...@@ -127,7 +127,7 @@ usb2: gadget@fff78000 {
atmel,can-isoc; atmel,can-isoc;
}; };
ep2 { ep@2 {
reg = <2>; reg = <2>;
atmel,fifo-size = <1024>; atmel,fifo-size = <1024>;
atmel,nb-banks = <2>; atmel,nb-banks = <2>;
...@@ -135,21 +135,21 @@ usb2: gadget@fff78000 { ...@@ -135,21 +135,21 @@ usb2: gadget@fff78000 {
atmel,can-isoc; atmel,can-isoc;
}; };
ep3 { ep@3 {
reg = <3>; reg = <3>;
atmel,fifo-size = <1024>; atmel,fifo-size = <1024>;
atmel,nb-banks = <3>; atmel,nb-banks = <3>;
atmel,can-dma; atmel,can-dma;
}; };
ep4 { ep@4 {
reg = <4>; reg = <4>;
atmel,fifo-size = <1024>; atmel,fifo-size = <1024>;
atmel,nb-banks = <3>; atmel,nb-banks = <3>;
atmel,can-dma; atmel,can-dma;
}; };
ep5 { ep@5 {
reg = <5>; reg = <5>;
atmel,fifo-size = <1024>; atmel,fifo-size = <1024>;
atmel,nb-banks = <3>; atmel,nb-banks = <3>;
...@@ -157,7 +157,7 @@ usb2: gadget@fff78000 { ...@@ -157,7 +157,7 @@ usb2: gadget@fff78000 {
atmel,can-isoc; atmel,can-isoc;
}; };
ep6 { ep@6 {
reg = <6>; reg = <6>;
atmel,fifo-size = <1024>; atmel,fifo-size = <1024>;
atmel,nb-banks = <3>; atmel,nb-banks = <3>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment