File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed 
boards/mikroe/clicker_ra4m1 Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 4242		};
4343	};
4444
45+ 	mikrobus_header: mikrobus-connector {
46+ 		compatible = "mikro-bus";
47+ 		#gpio-cells = <2>;
48+ 		gpio-map-mask = <0xffffffff 0xffffffc0>;
49+ 		gpio-map-pass-thru = <0 0x3f>;
50+ 		gpio-map =	<0 0 &ioport0 0 0>,	/* AN  */
51+ 				<1 0 &ioport4 7 0>,		/* RST */
52+ 				<2 0 &ioport1 3 0>,		/* CS   */
53+ 				<3 0 &ioport1 2 0>,		/* SCK  */
54+ 				<4 0 &ioport1 0 0>,		/* MISO */
55+ 				<5 0 &ioport1 1 0>,		/* MOSI */
56+ 							/* +3.3V */
57+ 							/* GND */
58+ 				<6 0 &ioport1 7 0>,		/* PWM  */
59+ 				<7 0 &ioport3 2 0>,		/* INT  */
60+ 				<8 0 &ioport4 10 0>,	/* RX   */
61+ 				<9 0 &ioport4 11 0>,	/* TX   */
62+ 				<10 0 &ioport2 5 0>,	/* SCL  */
63+ 				<11 0 &ioport2 6 0>;	/* SDA  */
64+ 							/* +5V */
65+ 							/* GND */
66+ 	};
67+ 
4568	aliases {
4669		led0 = &ld1;
4770		led1 = &ld2;
7295	};
7396};
7497
98+ &ioport0 {
99+ 	status = "okay";
100+ };
101+ 
102+ &ioport1 {
103+ 	status = "okay";
104+ };
105+ 
106+ &ioport2 {
107+ 	status = "okay";
108+ };
109+ 
75110&ioport3 {
76111	status = "okay";
77112};
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments