dts: boards: Define dts aliases at soc level for kinetis socs
Defines device tree aliases for on-chip peripherals at the soc level instead of the board level for all kinetis socs. The eliminates some duplicate code in the board level device trees, and will allow drivers to use device-tree generated macros directly instead of through dts fixups. Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
parent
5b14ab4481
commit
519661748e
13 changed files with 127 additions and 107 deletions
|
@ -9,15 +9,6 @@
|
|||
compatible = "nxp,frdm-kl25z", "nxp,kl25z", "nxp,mkl25z4";
|
||||
|
||||
aliases {
|
||||
adc-0 = &adc0;
|
||||
uart-0 = &uart0;
|
||||
i2c-0 = &i2c0;
|
||||
i2c-1 = &i2c1;
|
||||
gpio-a = &gpioa;
|
||||
gpio-b = &gpiob;
|
||||
gpio-c = &gpioc;
|
||||
gpio-d = &gpiod;
|
||||
gpio-e = &gpioe;
|
||||
led0 = &green_led;
|
||||
led1 = &blue_led;
|
||||
led2 = &red_led;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue