b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | From ba03ea8ada2ca71c9095d96a1e4085c2c5cf0e69 Mon Sep 17 00:00:00 2001 |
| 2 | From: Jonas Gorski <jonas.gorski@gmail.com> |
| 3 | Date: Wed, 27 Jul 2016 11:36:18 +0200 |
| 4 | Subject: [PATCH 08/16] Documentation: add BCM6362 pincontroller binding |
| 5 | documentation |
| 6 | |
| 7 | Add binding documentation for the pincontrol core found in BCM6362 SoCs. |
| 8 | |
| 9 | Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> |
| 10 | --- |
| 11 | .../bindings/pinctrl/brcm,bcm6362-pinctrl.txt | 79 ++++++++++++++++++++++ |
| 12 | 1 file changed, 79 insertions(+) |
| 13 | create mode 100644 Documentation/devicetree/bindings/pinctrl/brcm,bcm6362-pinctrl.txt |
| 14 | |
| 15 | --- /dev/null |
| 16 | +++ b/Documentation/devicetree/bindings/pinctrl/brcm,bcm6362-pinctrl.txt |
| 17 | @@ -0,0 +1,79 @@ |
| 18 | +* Broadcom BCM6362 pin controller |
| 19 | + |
| 20 | +Required properties: |
| 21 | +- compatible: Must be "brcm,bcm6362-pinctrl" |
| 22 | +- reg: Register specifiers of dirout, dat, led, mode, ctrl, basemode registers. |
| 23 | +- reg-names: Must be "dirout", "dat", "led", "mode", "ctrl", "basemode". |
| 24 | +- gpio-controller: Identifies this node as a GPIO controller. |
| 25 | +- #gpio-cells: Must be <2>. |
| 26 | + |
| 27 | +Example: |
| 28 | + |
| 29 | +pinctrl: pin-controller@10000080 { |
| 30 | + compatible = "brcm,bcm6362-pinctrl"; |
| 31 | + reg = <0x10000080 0x8>, |
| 32 | + <0x10000088 0x8>, |
| 33 | + <0x10000090 0x4>, |
| 34 | + <0x10000098 0x4>, |
| 35 | + <0x1000009c 0x4>, |
| 36 | + <0x100000b8 0x4>; |
| 37 | + reg-names = "dirout", "dat", "led", |
| 38 | + "mode", "ctrl", "basemode"; |
| 39 | + |
| 40 | + gpio-controller; |
| 41 | + #gpio-cells = <2>; |
| 42 | +}; |
| 43 | + |
| 44 | +Available pins/groups and functions: |
| 45 | + |
| 46 | +name pins functions |
| 47 | +----------------------------------------------------------- |
| 48 | +gpio0 0 led, usb_device_led |
| 49 | +gpio1 1 led, sys_irq |
| 50 | +gpio2 2 led, serial_led_clk |
| 51 | +gpio3 3 led, serial_led_data |
| 52 | +gpio4 4 led, robosw_led_data |
| 53 | +gpio5 5 led, robosw_led_clk |
| 54 | +gpio6 6 led, robosw_led0 |
| 55 | +gpio7 7 led, robosw_led1 |
| 56 | +gpio8 8 led, inet_led |
| 57 | +gpio9 9 led, spi_cs2 |
| 58 | +gpio10 10 led, spi_cs3 |
| 59 | +gpio11 11 led, ntr_pulse |
| 60 | +gpio12 12 led, uart1_scts |
| 61 | +gpio13 13 led, uart1_srts |
| 62 | +gpio14 14 led, uart1_sdin |
| 63 | +gpio15 15 led, uart1_sdout |
| 64 | +gpio16 16 led, adsl_spi_miso |
| 65 | +gpio17 17 led, adsl_spi_mosi |
| 66 | +gpio18 18 led, adsl_spi_clk |
| 67 | +gpio19 19 led, adsl_spi_cs |
| 68 | +gpio20 20 led, ephy0_led |
| 69 | +gpio21 21 led, ephy1_led |
| 70 | +gpio22 22 led, ephy2_led |
| 71 | +gpio23 23 led, ephy3_led |
| 72 | +gpio24 24 ext_irq0 |
| 73 | +gpio25 25 ext_irq1 |
| 74 | +gpio26 26 ext_irq2 |
| 75 | +gpio27 27 ext_irq3 |
| 76 | +gpio28 28 - |
| 77 | +gpio29 29 - |
| 78 | +gpio30 30 - |
| 79 | +gpio31 31 - |
| 80 | +gpio32 32 wifi |
| 81 | +gpio33 33 wifi |
| 82 | +gpio34 34 wifi |
| 83 | +gpio35 35 wifi |
| 84 | +gpio36 36 wifi |
| 85 | +gpio37 37 wifi |
| 86 | +gpio38 38 wifi |
| 87 | +gpio39 39 wifi |
| 88 | +gpio40 40 wifi |
| 89 | +gpio41 41 wifi |
| 90 | +gpio42 42 wifi |
| 91 | +gpio43 43 wifi |
| 92 | +gpio44 44 wifi |
| 93 | +gpio45 45 wifi |
| 94 | +gpio46 46 wifi |
| 95 | +gpio47 47 wifi |
| 96 | +nand_grp 8, 12-23, 27 nand |