diff --git a/ChangeLog b/ChangeLog
index 4db28902..66bc7f15 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2018-01-12  Joerg Wunsch <j.gnu@uriah.heep.sax.de>
+
+	Submitted by: Kjetil Kjeka:
+	patch #9317: Support atmega64m1 as part
+	* avrdue.conf.in (ATmega64M1): New entry.
+
 2018-01-12  Joerg Wunsch <j.gnu@uriah.heep.sax.de>
 
 	Submitted by Submitted David Griffith:
diff --git a/NEWS b/NEWS
index d8aa6bc4..e631448d 100644
--- a/NEWS
+++ b/NEWS
@@ -25,6 +25,7 @@ Current:
       ATtiny3216, ATtiny3217, ATmega3208, ATmega3209, ATmega4808,
       ATmega4809
     - ATtiny841, ATtiny441
+    - ATmega64M1
 
   * New programmers supported:
 
@@ -48,6 +49,7 @@ Current:
                  ATDF files
     patch #9423: Support ATtiny841 and ATtiny441
     patch #9530: Update URL to Ladyada's USBtinyISP page.
+    patch #9317: Support atmega64m1 as part
 
   * Internals:
     - New avrdude.conf keyword "family_id", used to verify SIB attributes
diff --git a/avrdude.conf.in b/avrdude.conf.in
index 63ed4793..9689a12f 100644
--- a/avrdude.conf.in
+++ b/avrdude.conf.in
@@ -8787,6 +8787,30 @@ part parent "m328"
     ;
 ;
 
+#------------------------------------------------------------
+# ATmega64m1
+#------------------------------------------------------------
+
+part parent "m328"
+    id              = "m64m1";
+    desc            = "ATmega64M1";
+    # stk500_devcode	= 0x;
+    # avr910_devcode	= 0x;
+    signature       = 0x1e 0x96 0x84;
+    bs2             = 0xe2;
+
+    memory "efuse"
+        size            = 1;
+        min_write_delay = 4500;
+        max_write_delay = 4500;
+        read            = "0 1 0 1 0 0 0 0 0 0 0 0 1 0 0 0",
+                          "x x x x x x x x o o o o o o o o";
+        
+        write           = "1 0 1 0 1 1 0 0 1 0 1 0 0 1 0 0",
+                          "x x x x x x x x x x i i i i i i";
+    ;
+;
+
 #------------------------------------------------------------
 # ATtiny2313
 #------------------------------------------------------------