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

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'at91-dt-6.20' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux into soc/dt

Microchip AT91 device tree updates for v6.20

This update includes:
- update the SAMA7D65 flexcom nodes to add the missing i2c, spi, and usart
child nodes; the flexcom child nodes were also updated with DMA
properties
- add basic support for the PCB8385 board, based on LAN966X SoC
- drop usb_a9g20-dab-mmx.dtsi as it is not used anywhere in the tree

* tag 'at91-dt-6.20' of https://git.kernel.org/pub/scm/linux/kernel/git/at91/linux:
ARM: dts: microchip: Drop usb_a9g20-dab-mmx.dtsi
ARM: dts: Add support for pcb8385
dt-bindings: arm: at91: add lan966 pcb8385 board
ARM: dts: microchip: sama7d65: add missing flexcom nodes
ARM: dts: microchip: sama7d65: add fifo-size to usart
ARM: dts: microchip: sama7d65: add dma properties to usart6

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+416 -96
+4 -2
Documentation/devicetree/bindings/arm/atmel-at91.yaml
··· 235 235 - const: microchip,lan9662 236 236 - const: microchip,lan966 237 237 238 - - description: Microchip LAN9668 PCB8290 Evaluation Board. 238 + - description: Microchip LAN9668 Evaluation Board. 239 239 items: 240 - - const: microchip,lan9668-pcb8290 240 + - enum: 241 + - microchip,lan9668-pcb8290 242 + - microchip,lan9668-pcb8385 241 243 - const: microchip,lan9668 242 244 - const: microchip,lan966 243 245
+2 -1
arch/arm/boot/dts/microchip/Makefile
··· 102 102 lan966x-kontron-kswitch-d10-mmt-8g.dtb \ 103 103 lan966x-pcb8290.dtb \ 104 104 lan966x-pcb8291.dtb \ 105 - lan966x-pcb8309.dtb 105 + lan966x-pcb8309.dtb \ 106 + lan966x-pcb8385.dtb
+131
arch/arm/boot/dts/microchip/lan966x-pcb8385.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 + /* 3 + * lan966x-pcb8385.dts - Device Tree file for PCB8385 4 + */ 5 + /dts-v1/; 6 + 7 + #include "lan966x.dtsi" 8 + #include "dt-bindings/phy/phy-lan966x-serdes.h" 9 + 10 + / { 11 + model = "Microchip EVB - LAN9668"; 12 + compatible = "microchip,lan9668-pcb8385", "microchip,lan9668", "microchip,lan966"; 13 + 14 + aliases { 15 + serial0 = &usart3; 16 + }; 17 + 18 + chosen { 19 + stdout-path = "serial0:115200n8"; 20 + }; 21 + 22 + gpio-restart { 23 + compatible = "gpio-restart"; 24 + gpios = <&gpio 59 GPIO_ACTIVE_LOW>; 25 + open-source; 26 + priority = <200>; 27 + }; 28 + 29 + leds { 30 + compatible = "gpio-leds"; 31 + 32 + led-p1-green { 33 + label = "cu0:green"; 34 + gpios = <&sgpio_out 2 0 GPIO_ACTIVE_LOW>; 35 + default-state = "off"; 36 + }; 37 + 38 + led-p1-yellow { 39 + label = "cu0:yellow"; 40 + gpios = <&sgpio_out 2 1 GPIO_ACTIVE_LOW>; 41 + default-state = "off"; 42 + }; 43 + 44 + led-p2-green { 45 + label = "cu1:green"; 46 + gpios = <&sgpio_out 3 0 GPIO_ACTIVE_LOW>; 47 + default-state = "off"; 48 + }; 49 + 50 + led-p2-yellow { 51 + label = "cu1:yellow"; 52 + gpios = <&sgpio_out 3 1 GPIO_ACTIVE_LOW>; 53 + default-state = "off"; 54 + }; 55 + }; 56 + }; 57 + 58 + &aes { 59 + status = "reserved"; /* Reserved by secure OS */ 60 + }; 61 + 62 + &flx0 { 63 + atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_TWI>; 64 + status = "okay"; 65 + }; 66 + 67 + &flx3 { 68 + atmel,flexcom-mode = <ATMEL_FLEXCOM_MODE_USART>; 69 + status = "okay"; 70 + }; 71 + 72 + &gpio { 73 + fc0_b_pins: fc0-b-pins { 74 + /* SCL, SDA */ 75 + pins = "GPIO_25", "GPIO_26"; 76 + function = "fc0_b"; 77 + }; 78 + 79 + fc3_b_pins: fc3-b-pins { 80 + /* RX, TX */ 81 + pins = "GPIO_52", "GPIO_53"; 82 + function = "fc3_b"; 83 + }; 84 + 85 + sgpio_a_pins: sgpio-a-pins { 86 + /* SCK, D0, D1, LD */ 87 + pins = "GPIO_32", "GPIO_33", "GPIO_34", "GPIO_35"; 88 + function = "sgpio_a"; 89 + }; 90 + }; 91 + 92 + &i2c0 { 93 + pinctrl-0 = <&fc0_b_pins>; 94 + pinctrl-names = "default"; 95 + dmas = <0>, <0>; 96 + i2c-analog-filter; 97 + i2c-digital-filter; 98 + i2c-digital-filter-width-ns = <35>; 99 + i2c-sda-hold-time-ns = <1500>; 100 + status = "okay"; 101 + 102 + eeprom@54 { 103 + compatible = "atmel,24c01"; 104 + reg = <0x54>; 105 + }; 106 + 107 + eeprom@55 { 108 + compatible = "atmel,24c01"; 109 + reg = <0x55>; 110 + }; 111 + }; 112 + 113 + &sgpio { 114 + pinctrl-0 = <&sgpio_a_pins>; 115 + pinctrl-names = "default"; 116 + microchip,sgpio-port-ranges = <0 3>; 117 + status = "okay"; 118 + 119 + gpio@0 { 120 + ngpios = <64>; 121 + }; 122 + gpio@1 { 123 + ngpios = <64>; 124 + }; 125 + }; 126 + 127 + &usart3 { 128 + pinctrl-0 = <&fc3_b_pins>; 129 + pinctrl-names = "default"; 130 + status = "okay"; 131 + };
+279
arch/arm/boot/dts/microchip/sama7d65.dtsi
··· 414 414 dma-names = "tx", "rx"; 415 415 atmel,use-dma-rx; 416 416 atmel,use-dma-tx; 417 + atmel,fifo-size = <32>; 417 418 atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 419 + status = "disabled"; 420 + }; 421 + 422 + spi0: spi@400 { 423 + compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi"; 424 + reg = <0x400 0x200>; 425 + interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; 426 + clocks = <&pmc PMC_TYPE_PERIPHERAL 34>; 427 + clock-names = "spi_clk"; 428 + #address-cells = <1>; 429 + #size-cells = <0>; 430 + dmas = <&dma1 AT91_XDMAC_DT_PERID(6)>, 431 + <&dma1 AT91_XDMAC_DT_PERID(5)>; 432 + dma-names = "tx", "rx"; 433 + atmel,fifo-size = <32>; 418 434 status = "disabled"; 419 435 }; 420 436 ··· 457 441 #address-cells = <1>; 458 442 #size-cells = <1>; 459 443 status = "disabled"; 444 + 445 + uart1: serial@200 { 446 + compatible = "microchip,sama7d65-usart", "atmel,at91sam9260-usart"; 447 + reg = <0x200 0x200>; 448 + interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; 449 + clocks = <&pmc PMC_TYPE_PERIPHERAL 35>; 450 + clock-names = "usart"; 451 + dmas = <&dma0 AT91_XDMAC_DT_PERID(8)>, 452 + <&dma0 AT91_XDMAC_DT_PERID(7)>; 453 + dma-names = "tx", "rx"; 454 + atmel,use-dma-rx; 455 + atmel,use-dma-tx; 456 + atmel,fifo-size = <32>; 457 + atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 458 + status = "disabled"; 459 + }; 460 460 461 461 spi1: spi@400 { 462 462 compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi"; ··· 524 492 dma-names = "tx", "rx"; 525 493 atmel,use-dma-rx; 526 494 atmel,use-dma-tx; 495 + atmel,fifo-size = <32>; 527 496 atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 497 + status = "disabled"; 498 + }; 499 + 500 + spi2: spi@400 { 501 + compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi"; 502 + reg = <0x400 0x200>; 503 + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 504 + clocks = <&pmc PMC_TYPE_PERIPHERAL 36>; 505 + clock-names = "spi_clk"; 506 + #address-cells = <1>; 507 + #size-cells = <0>; 508 + dmas = <&dma1 AT91_XDMAC_DT_PERID(10)>, 509 + <&dma1 AT91_XDMAC_DT_PERID(9)>; 510 + dma-names = "tx", "rx"; 511 + atmel,fifo-size = <32>; 512 + status = "disabled"; 513 + }; 514 + 515 + i2c2: i2c@600 { 516 + compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c"; 517 + reg = <0x600 0x200>; 518 + interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 519 + clocks = <&pmc PMC_TYPE_PERIPHERAL 36>; 520 + #address-cells = <1>; 521 + #size-cells = <0>; 522 + dmas = <&dma1 AT91_XDMAC_DT_PERID(10)>, 523 + <&dma1 AT91_XDMAC_DT_PERID(9)>; 524 + dma-names = "tx", "rx"; 525 + atmel,fifo-size = <32>; 528 526 status = "disabled"; 529 527 }; 530 528 }; ··· 579 517 dma-names = "tx", "rx"; 580 518 atmel,use-dma-rx; 581 519 atmel,use-dma-tx; 520 + atmel,fifo-size = <32>; 582 521 atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 522 + status = "disabled"; 523 + }; 524 + 525 + spi3: spi@400 { 526 + compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi"; 527 + reg = <0x400 0x200>; 528 + interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 529 + clocks = <&pmc PMC_TYPE_PERIPHERAL 37>; 530 + clock-names = "spi_clk"; 531 + #address-cells = <1>; 532 + #size-cells = <0>; 533 + dmas = <&dma0 AT91_XDMAC_DT_PERID(12)>, 534 + <&dma0 AT91_XDMAC_DT_PERID(11)>; 535 + dma-names = "tx", "rx"; 536 + atmel,fifo-size = <32>; 583 537 status = "disabled"; 584 538 }; 585 539 ··· 654 576 atmel,fifo-size = <32>; 655 577 status = "disabled"; 656 578 }; 579 + 580 + i2c4: i2c@600 { 581 + compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c"; 582 + reg = <0x600 0x200>; 583 + interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>; 584 + clocks = <&pmc PMC_TYPE_PERIPHERAL 38>; 585 + #address-cells = <1>; 586 + #size-cells = <0>; 587 + dmas = <&dma1 AT91_XDMAC_DT_PERID(14)>, 588 + <&dma1 AT91_XDMAC_DT_PERID(13)>; 589 + dma-names = "tx", "rx"; 590 + atmel,fifo-size = <32>; 591 + status = "disabled"; 592 + }; 657 593 }; 658 594 659 595 flx5: flexcom@e201c000 { ··· 678 586 #address-cells = <1>; 679 587 #size-cells = <1>; 680 588 status = "disabled"; 589 + 590 + uart5: serial@200 { 591 + compatible = "microchip,sama7d65-usart", "atmel,at91sam9260-usart"; 592 + reg = <0x200 0x200>; 593 + interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; 594 + clocks = <&pmc PMC_TYPE_PERIPHERAL 39>; 595 + clock-names = "usart"; 596 + dmas = <&dma0 AT91_XDMAC_DT_PERID(16)>, 597 + <&dma0 AT91_XDMAC_DT_PERID(15)>; 598 + dma-names = "tx", "rx"; 599 + atmel,use-dma-rx; 600 + atmel,use-dma-tx; 601 + atmel,fifo-size = <32>; 602 + atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 603 + status = "disabled"; 604 + }; 605 + 606 + spi5: spi@400 { 607 + compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi"; 608 + reg = <0x400 0x200>; 609 + interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>; 610 + clocks = <&pmc PMC_TYPE_PERIPHERAL 39>; 611 + clock-names = "spi_clk"; 612 + #address-cells = <1>; 613 + #size-cells = <0>; 614 + dmas = <&dma0 AT91_XDMAC_DT_PERID(16)>, 615 + <&dma0 AT91_XDMAC_DT_PERID(15)>; 616 + dma-names = "tx", "rx"; 617 + atmel,fifo-size = <32>; 618 + status = "disabled"; 619 + }; 681 620 682 621 i2c5: i2c@600 { 683 622 compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c"; ··· 740 617 interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 741 618 clocks = <&pmc PMC_TYPE_PERIPHERAL 40>; 742 619 clock-names = "usart"; 620 + dmas = <&dma1 AT91_XDMAC_DT_PERID(18)>, 621 + <&dma1 AT91_XDMAC_DT_PERID(17)>; 622 + dma-names = "tx", "rx"; 623 + atmel,use-dma-rx; 624 + atmel,use-dma-tx; 743 625 atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 626 + atmel,fifo-size = <32>; 627 + status = "disabled"; 628 + }; 629 + 630 + spi6: spi@400 { 631 + compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi"; 632 + reg = <0x400 0x200>; 633 + interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 634 + clocks = <&pmc PMC_TYPE_PERIPHERAL 40>; 635 + clock-names = "spi_clk"; 636 + #address-cells = <1>; 637 + #size-cells = <0>; 638 + dmas = <&dma1 AT91_XDMAC_DT_PERID(18)>, 639 + <&dma1 AT91_XDMAC_DT_PERID(17)>; 640 + dma-names = "tx", "rx"; 641 + atmel,fifo-size = <32>; 642 + status = "disabled"; 643 + }; 644 + 645 + i2c6: i2c@600 { 646 + compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c"; 647 + reg = <0x600 0x200>; 648 + interrupts = <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>; 649 + clocks = <&pmc PMC_TYPE_PERIPHERAL 40>; 650 + #address-cells = <1>; 651 + #size-cells = <0>; 652 + dmas = <&dma1 AT91_XDMAC_DT_PERID(18)>, 653 + <&dma1 AT91_XDMAC_DT_PERID(17)>; 654 + dma-names = "tx", "rx"; 744 655 atmel,fifo-size = <32>; 745 656 status = "disabled"; 746 657 }; ··· 804 647 atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 805 648 status = "disabled"; 806 649 }; 650 + 651 + spi7: spi@400 { 652 + compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi"; 653 + reg = <0x400 0x200>; 654 + interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; 655 + clocks = <&pmc PMC_TYPE_PERIPHERAL 41>; 656 + clock-names = "spi_clk"; 657 + #address-cells = <1>; 658 + #size-cells = <0>; 659 + dmas = <&dma1 AT91_XDMAC_DT_PERID(20)>, 660 + <&dma1 AT91_XDMAC_DT_PERID(19)>; 661 + dma-names = "tx", "rx"; 662 + atmel,fifo-size = <32>; 663 + status = "disabled"; 664 + }; 665 + 666 + i2c7: i2c@600 { 667 + compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c"; 668 + reg = <0x600 0x200>; 669 + interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>; 670 + clocks = <&pmc PMC_TYPE_PERIPHERAL 41>; 671 + #address-cells = <1>; 672 + #size-cells = <0>; 673 + dmas = <&dma1 AT91_XDMAC_DT_PERID(20)>, 674 + <&dma1 AT91_XDMAC_DT_PERID(19)>; 675 + dma-names = "tx", "rx"; 676 + atmel,fifo-size = <32>; 677 + status = "disabled"; 678 + }; 807 679 }; 808 680 809 681 flx8: flexcom@e281c000 { ··· 843 657 #address-cells = <1>; 844 658 #size-cells = <1>; 845 659 status = "disabled"; 660 + 661 + uart8: serial@200 { 662 + compatible = "microchip,sama7d65-usart", "atmel,at91sam9260-usart"; 663 + reg = <0x200 0x200>; 664 + interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; 665 + clocks = <&pmc PMC_TYPE_PERIPHERAL 42>; 666 + clock-names = "usart"; 667 + dmas = <&dma0 AT91_XDMAC_DT_PERID(22)>, 668 + <&dma0 AT91_XDMAC_DT_PERID(21)>; 669 + dma-names = "tx", "rx"; 670 + atmel,use-dma-rx; 671 + atmel,use-dma-tx; 672 + atmel,fifo-size = <32>; 673 + atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 674 + status = "disabled"; 675 + }; 676 + 677 + spi8: spi@400 { 678 + compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi"; 679 + reg = <0x400 0x200>; 680 + interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; 681 + clocks = <&pmc PMC_TYPE_PERIPHERAL 42>; 682 + clock-names = "spi_clk"; 683 + #address-cells = <1>; 684 + #size-cells = <0>; 685 + dmas = <&dma0 AT91_XDMAC_DT_PERID(22)>, 686 + <&dma0 AT91_XDMAC_DT_PERID(21)>; 687 + dma-names = "tx", "rx"; 688 + atmel,fifo-size = <32>; 689 + status = "disabled"; 690 + }; 846 691 847 692 i2c8: i2c@600 { 848 693 compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c"; ··· 899 682 #size-cells = <1>; 900 683 status = "disabled"; 901 684 685 + uart9: serial@200 { 686 + compatible = "microchip,sama7d65-usart", "atmel,at91sam9260-usart"; 687 + reg = <0x200 0x200>; 688 + interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; 689 + clocks = <&pmc PMC_TYPE_PERIPHERAL 43>; 690 + clock-names = "usart"; 691 + dmas = <&dma0 AT91_XDMAC_DT_PERID(24)>, 692 + <&dma0 AT91_XDMAC_DT_PERID(23)>; 693 + dma-names = "tx", "rx"; 694 + atmel,use-dma-rx; 695 + atmel,use-dma-tx; 696 + atmel,fifo-size = <32>; 697 + atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 698 + status = "disabled"; 699 + }; 700 + 701 + spi9: spi@400 { 702 + compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi"; 703 + reg = <0x400 0x200>; 704 + interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; 705 + clocks = <&pmc PMC_TYPE_PERIPHERAL 43>; 706 + clock-names = "spi_clk"; 707 + #address-cells = <1>; 708 + #size-cells = <0>; 709 + dmas = <&dma0 AT91_XDMAC_DT_PERID(24)>, 710 + <&dma0 AT91_XDMAC_DT_PERID(23)>; 711 + dma-names = "tx", "rx"; 712 + atmel,fifo-size = <32>; 713 + status = "disabled"; 714 + }; 715 + 902 716 i2c9: i2c@600 { 903 717 compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c"; 904 718 reg = <0x600 0x200>; ··· 953 705 #address-cells = <1>; 954 706 #size-cells = <1>; 955 707 status = "disabled"; 708 + 709 + uart10: serial@200 { 710 + compatible = "microchip,sama7d65-usart", "atmel,at91sam9260-usart"; 711 + reg = <0x200 0x200>; 712 + interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; 713 + clocks = <&pmc PMC_TYPE_PERIPHERAL 44>; 714 + clock-names = "usart"; 715 + dmas = <&dma0 AT91_XDMAC_DT_PERID(26)>, 716 + <&dma0 AT91_XDMAC_DT_PERID(25)>; 717 + dma-names = "tx", "rx"; 718 + atmel,use-dma-rx; 719 + atmel,use-dma-tx; 720 + atmel,fifo-size = <32>; 721 + atmel,usart-mode = <AT91_USART_MODE_SERIAL>; 722 + status = "disabled"; 723 + }; 724 + 725 + spi10: spi@400 { 726 + compatible = "microchip,sama7d65-spi", "atmel,at91rm9200-spi"; 727 + reg = <0x400 0x200>; 728 + interrupts = <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>; 729 + clocks = <&pmc PMC_TYPE_PERIPHERAL 44>; 730 + clock-names = "spi_clk"; 731 + #address-cells = <1>; 732 + #size-cells = <0>; 733 + dmas = <&dma0 AT91_XDMAC_DT_PERID(26)>, 734 + <&dma0 AT91_XDMAC_DT_PERID(25)>; 735 + dma-names = "tx", "rx"; 736 + atmel,fifo-size = <32>; 737 + status = "disabled"; 738 + }; 956 739 957 740 i2c10: i2c@600 { 958 741 compatible = "microchip,sama7d65-i2c", "microchip,sam9x60-i2c";
-93
arch/arm/boot/dts/microchip/usb_a9g20-dab-mmx.dtsi
··· 1 - // SPDX-License-Identifier: GPL-2.0-only 2 - /* 3 - * calao-dab-mmx.dtsi - Device Tree Include file for Calao DAB-MMX Daughter Board 4 - * 5 - * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 6 - */ 7 - 8 - / { 9 - ahb { 10 - apb { 11 - usart1: serial@fffb4000 { 12 - status = "okay"; 13 - }; 14 - 15 - usart3: serial@fffd0000 { 16 - status = "okay"; 17 - }; 18 - }; 19 - }; 20 - 21 - i2c-gpio@0 { 22 - status = "okay"; 23 - }; 24 - 25 - leds { 26 - compatible = "gpio-leds"; 27 - 28 - user_led1 { 29 - label = "user_led1"; 30 - gpios = <&pioB 20 GPIO_ACTIVE_LOW>; 31 - }; 32 - 33 - /* 34 - * led already used by mother board but active as high 35 - * user_led2 { 36 - * label = "user_led2"; 37 - * gpios = <&pioB 21 GPIO_ACTIVE_LOW>; 38 - * }; 39 - */ 40 - user_led3 { 41 - label = "user_led3"; 42 - gpios = <&pioB 22 GPIO_ACTIVE_LOW>; 43 - }; 44 - 45 - user_led4 { 46 - label = "user_led4"; 47 - gpios = <&pioB 23 GPIO_ACTIVE_LOW>; 48 - }; 49 - 50 - red { 51 - label = "red"; 52 - gpios = <&pioB 24 GPIO_ACTIVE_LOW>; 53 - }; 54 - 55 - orange { 56 - label = "orange"; 57 - gpios = <&pioB 30 GPIO_ACTIVE_LOW>; 58 - }; 59 - 60 - green { 61 - label = "green"; 62 - gpios = <&pioB 31 GPIO_ACTIVE_LOW>; 63 - }; 64 - }; 65 - 66 - gpio_keys { 67 - compatible = "gpio-keys"; 68 - 69 - button-user-pb1 { 70 - label = "user_pb1"; 71 - gpios = <&pioB 25 GPIO_ACTIVE_LOW>; 72 - linux,code = <0x100>; 73 - }; 74 - 75 - button-user-pb2 { 76 - label = "user_pb2"; 77 - gpios = <&pioB 13 GPIO_ACTIVE_LOW>; 78 - linux,code = <0x101>; 79 - }; 80 - 81 - button-user-pb3 { 82 - label = "user_pb3"; 83 - gpios = <&pioA 26 GPIO_ACTIVE_LOW>; 84 - linux,code = <0x102>; 85 - }; 86 - 87 - button-user-pb4 { 88 - label = "user_pb4"; 89 - gpios = <&pioC 9 GPIO_ACTIVE_LOW>; 90 - linux,code = <0x103>; 91 - }; 92 - }; 93 - };