Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: aspeed: fp5280g2: Add LED configuration

Change BMC init-ok from GPIO to LED, which needs to blink when BMC
initialization is complete.

Use TAB to align some lines.

Signed-off-by: Chicago Duan <duanzhijia01@inspur.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>

authored by

Chicago Duan and committed by
Joel Stanley
d52ce2be 606bcdde

+40 -15
+40 -15
arch/arm/boot/dts/aspeed-bmc-inspur-fp5280g2.dts
··· 148 148 }; 149 149 150 150 leds { 151 - compatible = "gpio-leds"; 151 + compatible = "gpio-leds"; 152 152 153 - power { 154 - label = "power"; 155 - /* TODO: dummy gpio */ 156 - gpios = <&gpio ASPEED_GPIO(R, 1) GPIO_ACTIVE_LOW>; 157 - }; 153 + power { 154 + label = "power"; 155 + /* TODO: dummy gpio */ 156 + gpios = <&gpio ASPEED_GPIO(R, 1) GPIO_ACTIVE_LOW>; 157 + }; 158 158 159 + init-ok { 160 + label = "init-ok"; 161 + gpios = <&gpio ASPEED_GPIO(B, 7) GPIO_ACTIVE_LOW>; 162 + }; 163 + 164 + front-memory { 165 + label = "front-memory"; 166 + gpios = <&gpio ASPEED_GPIO(F, 4) GPIO_ACTIVE_LOW>; 167 + }; 168 + 169 + front-syshot { 170 + label = "front-syshot"; 171 + gpios = <&gpio ASPEED_GPIO(I, 1) GPIO_ACTIVE_LOW>; 172 + }; 173 + 174 + front-syshealth { 175 + label = "front-syshealth"; 176 + gpios = <&gpio ASPEED_GPIO(I, 0) GPIO_ACTIVE_LOW>; 177 + }; 178 + 179 + front-fan { 180 + label = "front-fan"; 181 + gpios = <&gpio ASPEED_GPIO(H, 4) GPIO_ACTIVE_LOW>; 182 + }; 183 + 184 + front-psu { 185 + label = "front-psu"; 186 + gpios = <&gpio ASPEED_GPIO(B, 2) GPIO_ACTIVE_LOW>; 187 + }; 188 + 189 + identify { 190 + label = "identify"; 191 + gpios = <&gpio ASPEED_GPIO(Z, 7) GPIO_ACTIVE_LOW>; 192 + }; 159 193 }; 160 194 161 195 iio-hwmon-battery { ··· 781 747 782 748 &pinctrl { 783 749 aspeed,external-nodes = <&gfx &lhc>; 784 - }; 785 - 786 - &gpio { 787 - pin_gpio_b7 { 788 - gpio-hog; 789 - gpios = <ASPEED_GPIO(B,7) GPIO_ACTIVE_LOW>; 790 - output-high; 791 - line-name = "BMC_INIT_OK"; 792 - }; 793 750 }; 794 751 795 752 &wdt1 {