Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 | /* * Copyright (c) 2017 Justin Watson * * SPDX-License-Identifier: Apache-2.0 */ #include <arm/armv7-m.dtsi> #include <dt-bindings/i2c/i2c.h> #include <dt-bindings/gpio/gpio.h> / { aliases { watchdog0 = &wdog; }; cpus { #address-cells = <1>; #size-cells = <0>; cpu0: cpu@0 { device_type = "cpu"; compatible = "arm,cortex-m4"; reg = <0>; }; }; sram0: memory@20100000 { compatible = "mmio-sram"; }; flash0: flash@400000 { compatible = "soc-nv-flash"; label = "FLASH_0"; }; soc { wdog: watchdog@400e1450 { compatible = "atmel,sam-watchdog"; reg = <0x400e1450 0xc>; interrupts = <4 0>; peripheral-id = <4>; label = "WATCHDOG_0"; status = "disabled"; }; i2c0: i2c@40018000 { compatible = "atmel,sam-i2c-twi"; clock-frequency = <I2C_BITRATE_STANDARD>; reg = <0x40018000 0x128>; interrupts = <19 0>; peripheral-id = <19>; label = "I2C_0"; status = "disabled"; #address-cells = <1>; #size-cells = <0>; }; i2c1: i2c@4001c000 { compatible = "atmel,sam-i2c-twi"; clock-frequency = <I2C_BITRATE_STANDARD>; reg = <0x4001c000 0x128>; interrupts = <20 0>; peripheral-id = <20>; label = "I2C_1"; status = "disabled"; #address-cells = <1>; #size-cells = <0>; }; uart0: uart@400e0600 { compatible = "atmel,sam-uart"; reg = <0x400e0600 0x200>; interrupts = <8 1>; peripheral-id = <8>; status = "disabled"; label = "UART_0"; }; uart1: uart@400e0800 { compatible = "atmel,sam-uart"; reg = <0x400e0800 0x200>; interrupts = <9 1>; peripheral-id = <9>; status = "disabled"; label = "UART_1"; }; usart0: usart@40024000 { compatible = "atmel,sam-usart"; reg = <0x40024000 0x130>; interrupts = <14 1>; peripheral-id = <14>; status = "disabled"; label = "USART_0"; }; usart1: usart@40028000 { compatible = "atmel,sam-usart"; reg = <0x40028000 0x130>; interrupts = <15 1>; peripheral-id = <15>; status = "disabled"; label = "USART_1"; }; porta: gpio@400e0e00 { compatible = "atmel,sam-gpio"; reg = <0x400e0e00 0x190>; interrupts = <11 1>; peripheral-id = <11>; label = "PORTA"; gpio-controller; #gpio-cells = <2>; }; portb: gpio@400e1000 { compatible = "atmel,sam-gpio"; reg = <0x400e1000 0x190>; interrupts = <12 1>; peripheral-id = <12>; label = "PORTB"; gpio-controller; #gpio-cells = <2>; }; portc: gpio@400e1200 { compatible = "atmel,sam-gpio"; reg = <0x400e1200 0x190>; interrupts = <13 1>; peripheral-id = <13>; label = "PORTC"; gpio-controller; #gpio-cells = <2>; }; }; }; &nvic { arm,num-irq-priority-bits = <4>; }; |