• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1root {
2  platform {
3    pwm_config {
4      template pwm_device {
5        serviceName = "";
6        match_attr = "";
7        num = 0;
8        base = 0x12070000;
9      }
10      device_0x40001000 :: pwm_device {
11        match_attr = "st_stm32mp1_pwm_0";
12        num = 3;
13        base = 0x40001000;
14
15        /* [port,pin]
16            <port> 0:GPIOA 1:GPIOB 3:GPIOC ......
17            <pin>  0:PIN0 1:PIN1 2:PIN2 ......
18        */
19        pwmIomux = [1, 0];   //PB0
20      }
21    }
22  }
23}
24