~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/leds/leds-bcm6358.txt

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/leds/leds-bcm6358.txt (Architecture alpha) and /Documentation/devicetree/bindings/leds/leds-bcm6358.txt (Architecture sparc64)


  1 LEDs connected to Broadcom BCM6358 controller       1 LEDs connected to Broadcom BCM6358 controller
  2                                                     2 
  3 This controller is present on BCM6358 and BCM6      3 This controller is present on BCM6358 and BCM6368.
  4 In these SoCs there are Serial LEDs (LEDs conn      4 In these SoCs there are Serial LEDs (LEDs connected to a 74x164 controller),
  5 which can either be controlled by software (ex      5 which can either be controlled by software (exporting the 74x164 as spi-gpio.
  6 See Documentation/devicetree/bindings/gpio/fai      6 See Documentation/devicetree/bindings/gpio/fairchild,74hc595.yaml), or
  7 by hardware using this driver.                      7 by hardware using this driver.
  8                                                     8 
  9 Required properties:                                9 Required properties:
 10   - compatible : should be "brcm,bcm6358-leds"     10   - compatible : should be "brcm,bcm6358-leds".
 11   - #address-cells : must be 1.                    11   - #address-cells : must be 1.
 12   - #size-cells : must be 0.                       12   - #size-cells : must be 0.
 13   - reg : BCM6358 LED controller address and s     13   - reg : BCM6358 LED controller address and size.
 14                                                    14 
 15 Optional properties:                               15 Optional properties:
 16   - brcm,clk-div : SCK signal divider. Possibl     16   - brcm,clk-div : SCK signal divider. Possible values are 1, 2, 4 and 8.
 17     Default : 1                                    17     Default : 1
 18   - brcm,clk-dat-low : Boolean, makes clock an     18   - brcm,clk-dat-low : Boolean, makes clock and data signals active low.
 19     Default : false                                19     Default : false
 20                                                    20 
 21 Each LED is represented as a sub-node of the b     21 Each LED is represented as a sub-node of the brcm,bcm6358-leds device.
 22                                                    22 
 23 LED sub-node required properties:                  23 LED sub-node required properties:
 24   - reg : LED pin number (only LEDs 0 to 31 ar     24   - reg : LED pin number (only LEDs 0 to 31 are valid).
 25                                                    25 
 26 LED sub-node optional properties:                  26 LED sub-node optional properties:
 27   - label : see Documentation/devicetree/bindi     27   - label : see Documentation/devicetree/bindings/leds/common.txt
 28   - default-state : see                            28   - default-state : see
 29     Documentation/devicetree/bindings/leds/com     29     Documentation/devicetree/bindings/leds/common.txt
 30   - linux,default-trigger : see                    30   - linux,default-trigger : see
 31     Documentation/devicetree/bindings/leds/com     31     Documentation/devicetree/bindings/leds/common.txt
 32                                                    32 
 33 Examples:                                          33 Examples:
 34 Scenario 1 : BCM6358                               34 Scenario 1 : BCM6358
 35         leds0: led-controller@fffe00d0 {           35         leds0: led-controller@fffe00d0 {
 36                 compatible = "brcm,bcm6358-led     36                 compatible = "brcm,bcm6358-leds";
 37                 #address-cells = <1>;              37                 #address-cells = <1>;
 38                 #size-cells = <0>;                 38                 #size-cells = <0>;
 39                 reg = <0xfffe00d0 0x8>;            39                 reg = <0xfffe00d0 0x8>;
 40                                                    40 
 41                 alarm_white {                      41                 alarm_white {
 42                         reg = <0>;                 42                         reg = <0>;
 43                         active-low;                43                         active-low;
 44                         label = "white:alarm";     44                         label = "white:alarm";
 45                 };                                 45                 };
 46                 tv_white {                         46                 tv_white {
 47                         reg = <2>;                 47                         reg = <2>;
 48                         active-low;                48                         active-low;
 49                         label = "white:tv";        49                         label = "white:tv";
 50                 };                                 50                 };
 51                 tel_white {                        51                 tel_white {
 52                         reg = <3>;                 52                         reg = <3>;
 53                         active-low;                53                         active-low;
 54                         label = "white:tel";       54                         label = "white:tel";
 55                 };                                 55                 };
 56                 adsl_white {                       56                 adsl_white {
 57                         reg = <4>;                 57                         reg = <4>;
 58                         active-low;                58                         active-low;
 59                         label = "white:adsl";      59                         label = "white:adsl";
 60                 };                                 60                 };
 61         };                                         61         };
 62                                                    62 
 63 Scenario 2 : BCM6368                               63 Scenario 2 : BCM6368
 64         leds0: led-controller@100000d0 {           64         leds0: led-controller@100000d0 {
 65                 compatible = "brcm,bcm6358-led     65                 compatible = "brcm,bcm6358-leds";
 66                 #address-cells = <1>;              66                 #address-cells = <1>;
 67                 #size-cells = <0>;                 67                 #size-cells = <0>;
 68                 reg = <0x100000d0 0x8>;            68                 reg = <0x100000d0 0x8>;
 69                 brcm,pol-low;                      69                 brcm,pol-low;
 70                 brcm,clk-div = <4>;                70                 brcm,clk-div = <4>;
 71                                                    71 
 72                 power_red {                        72                 power_red {
 73                         reg = <0>;                 73                         reg = <0>;
 74                         active-low;                74                         active-low;
 75                         label = "red:power";       75                         label = "red:power";
 76                 };                                 76                 };
 77                 power_green {                      77                 power_green {
 78                         reg = <1>;                 78                         reg = <1>;
 79                         active-low;                79                         active-low;
 80                         label = "green:power";     80                         label = "green:power";
 81                         default-state = "on";      81                         default-state = "on";
 82                 };                                 82                 };
 83                 power_blue {                       83                 power_blue {
 84                         reg = <2>;                 84                         reg = <2>;
 85                         label = "blue:power";      85                         label = "blue:power";
 86                 };                                 86                 };
 87                 broadband_red {                    87                 broadband_red {
 88                         reg = <3>;                 88                         reg = <3>;
 89                         active-low;                89                         active-low;
 90                         label = "red:broadband     90                         label = "red:broadband";
 91                 };                                 91                 };
 92                 broadband_green {                  92                 broadband_green {
 93                         reg = <4>;                 93                         reg = <4>;
 94                         label = "green:broadba     94                         label = "green:broadband";
 95                 };                                 95                 };
 96                 broadband_blue {                   96                 broadband_blue {
 97                         reg = <5>;                 97                         reg = <5>;
 98                         active-low;                98                         active-low;
 99                         label = "blue:broadban     99                         label = "blue:broadband";
100                 };                                100                 };
101                 wireless_red {                    101                 wireless_red {
102                         reg = <6>;                102                         reg = <6>;
103                         active-low;               103                         active-low;
104                         label = "red:wireless"    104                         label = "red:wireless";
105                 };                                105                 };
106                 wireless_green {                  106                 wireless_green {
107                         reg = <7>;                107                         reg = <7>;
108                         active-low;               108                         active-low;
109                         label = "green:wireles    109                         label = "green:wireless";
110                 };                                110                 };
111                 wireless_blue {                   111                 wireless_blue {
112                         reg = <8>;                112                         reg = <8>;
113                         label = "blue:wireless    113                         label = "blue:wireless";
114                 };                                114                 };
115                 phone_red {                       115                 phone_red {
116                         reg = <9>;                116                         reg = <9>;
117                         active-low;               117                         active-low;
118                         label = "red:phone";      118                         label = "red:phone";
119                 };                                119                 };
120                 phone_green {                     120                 phone_green {
121                         reg = <10>;               121                         reg = <10>;
122                         active-low;               122                         active-low;
123                         label = "green:phone";    123                         label = "green:phone";
124                 };                                124                 };
125                 phone_blue {                      125                 phone_blue {
126                         reg = <11>;               126                         reg = <11>;
127                         label = "blue:phone";     127                         label = "blue:phone";
128                 };                                128                 };
129                 upgrading_red {                   129                 upgrading_red {
130                         reg = <12>;               130                         reg = <12>;
131                         active-low;               131                         active-low;
132                         label = "red:upgrading    132                         label = "red:upgrading";
133                 };                                133                 };
134                 upgrading_green {                 134                 upgrading_green {
135                         reg = <13>;               135                         reg = <13>;
136                         active-low;               136                         active-low;
137                         label = "green:upgradi    137                         label = "green:upgrading";
138                 };                                138                 };
139                 upgrading_blue {                  139                 upgrading_blue {
140                         reg = <14>;               140                         reg = <14>;
141                         label = "blue:upgradin    141                         label = "blue:upgrading";
142                 };                                142                 };
143         };                                        143         };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php