diff options
Diffstat (limited to 'bsp/coreip-s51-arty/design.dts')
-rw-r--r-- | bsp/coreip-s51-arty/design.dts | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/bsp/coreip-s51-arty/design.dts b/bsp/coreip-s51-arty/design.dts index c0813ca..71b9ea6 100644 --- a/bsp/coreip-s51-arty/design.dts +++ b/bsp/coreip-s51-arty/design.dts @@ -68,6 +68,7 @@ reg-names = "mem"; }; L9: global-external-interrupts { + compatible = "sifive,global-external-interrupts0"; interrupt-parent = <&L0>; interrupts = <1 2 3 4>; }; @@ -94,6 +95,7 @@ reg-names = "mem"; }; L10: local-external-interrupts-0 { + compatible = "sifive,local-external-interrupts0"; interrupt-parent = <&L3>; interrupts = <16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31>; }; @@ -119,6 +121,76 @@ reg = <0x20004000 0x1000 0x40000000 0x20000000>; reg-names = "control", "mem"; }; + led@0red { + compatible = "sifive,gpio-leds"; + label = "LD0red"; + gpios = <&L13 0>; + linux,default-trigger = "none"; + }; + led@0green { + compatible = "sifive,gpio-leds"; + label = "LD0green"; + gpios = <&L13 1>; + linux,default-trigger = "none"; + }; + led@0blue { + compatible = "sifive,gpio-leds"; + label = "LD0blue"; + gpios = <&L13 2>; + linux,default-trigger = "none"; + }; + button@0 { + compatible = "sifive,gpio-buttons"; + label = "BTN0"; + gpios = <&L13 4>; + interrupts-extended = <&L10 4>; + linux,code = "none"; + }; + button@1 { + compatible = "sifive,gpio-buttons"; + label = "BTN1"; + gpios = <&L13 5>; + interrupts-extended = <&L10 5>; + linux,code = "none"; + }; + button@2 { + compatible = "sifive,gpio-buttons"; + label = "BTN2"; + gpios = <&L13 6>; + interrupts-extended = <&L10 6>; + linux,code = "none"; + }; + button@3 { + compatible = "sifive,gpio-buttons"; + label = "BTN3"; + gpios = <&L13 7>; + interrupts-extended = <&L10 7>; + linux,code = "none"; + }; + switch@0 { + compatible = "sifive,gpio-switches"; + label = "SW0"; + interrupts-extended = <&L9 0>; + linux,code = "none"; + }; + switch@1 { + compatible = "sifive,gpio-switches"; + label = "SW1"; + interrupts-extended = <&L9 1>; + linux,code = "none"; + }; + switch@2 { + compatible = "sifive,gpio-switches"; + label = "SW2"; + interrupts-extended = <&L9 2>; + linux,code = "none"; + }; + switch@3 { + compatible = "sifive,gpio-switches"; + label = "SW3"; + interrupts-extended = <&L10 3>; + linux,code = "none"; + }; L7: teststatus@4000 { compatible = "sifive,test0"; reg = <0x4000 0x1000>; |