diff options
Diffstat (limited to 'arch/mips/dts/ar9331-dptechnics-dpt-module.dts')
-rw-r--r-- | arch/mips/dts/ar9331-dptechnics-dpt-module.dts | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/arch/mips/dts/ar9331-dptechnics-dpt-module.dts b/arch/mips/dts/ar9331-dptechnics-dpt-module.dts index 24ce0d0d67..25eabc9b7e 100644 --- a/arch/mips/dts/ar9331-dptechnics-dpt-module.dts +++ b/arch/mips/dts/ar9331-dptechnics-dpt-module.dts @@ -11,7 +11,7 @@ environment { compatible = "barebox,environment"; - device-path = &spiflash, "partname:barebox-environment"; + device-path = &env_nor; }; art@0 { @@ -20,18 +20,14 @@ barebox,provide-mac-address = <ð0>; }; }; +}; - leds { - system { - barebox,default-trigger = "heartbeat"; - }; - }; +&{/leds/led-0} { + barebox,default-trigger = "heartbeat"; +}; - gpio-keys { - button@0 { - gpios = <&gpio 11 GPIO_ACTIVE_HIGH>; - }; - }; +&{/gpio-keys/button-0} { + gpios = <&gpio 11 GPIO_ACTIVE_HIGH>; }; &spiflash { @@ -40,7 +36,7 @@ reg = <0 0x80000>; }; - partition@80000 { + env_nor: partition@80000 { label = "barebox-environment"; reg = <0x80000 0x10000>; }; |