Merge tag 'timers-urgent-2020-12-27' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-2.6-microblaze.git] / arch / arm64 / boot / dts / microchip / sparx5_pcb135_board.dtsi
index b02b8c8..e28c6dd 100644 (file)
                gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
                priority = <200>;
        };
+
+       leds {
+               compatible = "gpio-leds";
+               led@0 {
+                       label = "eth60:yellow";
+                       gpios = <&sgpio_out1 28 0 GPIO_ACTIVE_LOW>;
+                       default-state = "off";
+               };
+               led@1 {
+                       label = "eth60:green";
+                       gpios = <&sgpio_out1 28 1 GPIO_ACTIVE_LOW>;
+                       default-state = "off";
+               };
+               led@2 {
+                       label = "eth61:yellow";
+                       gpios = <&sgpio_out1 29 0 GPIO_ACTIVE_LOW>;
+                       default-state = "off";
+               };
+               led@3 {
+                       label = "eth61:green";
+                       gpios = <&sgpio_out1 29 1 GPIO_ACTIVE_LOW>;
+                       default-state = "off";
+               };
+               led@4 {
+                       label = "eth62:yellow";
+                       gpios = <&sgpio_out1 30 0 GPIO_ACTIVE_LOW>;
+                       default-state = "off";
+               };
+               led@5 {
+                       label = "eth62:green";
+                       gpios = <&sgpio_out1 30 1 GPIO_ACTIVE_LOW>;
+                       default-state = "off";
+               };
+               led@6 {
+                       label = "eth63:yellow";
+                       gpios = <&sgpio_out1 31 0 GPIO_ACTIVE_LOW>;
+                       default-state = "off";
+               };
+               led@7 {
+                       label = "eth63:green";
+                       gpios = <&sgpio_out1 31 1 GPIO_ACTIVE_LOW>;
+                       default-state = "off";
+               };
+       };
 };
 
 &gpio {
        };
 };
 
+&sgpio1 {
+       status = "okay";
+       microchip,sgpio-port-ranges = <24 31>;
+       gpio@0 {
+               ngpios = <64>;
+       };
+       gpio@1 {
+               ngpios = <64>;
+       };
+};
+
 &axi {
        i2c0_imux: i2c0-imux@0 {
                compatible = "i2c-mux-pinctrl";